Ein Online-Behandlungsjournal für kranke Tiere.
Behandlungsjournal is generated with angular-cli.
This project uses the MEAN stack:
- Mongoose.js (MongoDB): database
- Express.js: backend framework
- Angular: frontend framework
- Node.js: runtime environment
- Angular CLI: to generate the project
- Typescript: client and node-server: Both with same typescript version.
- SASS: to process SASS-Sources in global framework and Angular-Components
- Bootstrap Version 4: SASS-sources as base for layout and styles To work properly with webpack bootstrap loader is used (August 2017): npm install --save resolve-url-loader npm i --save bootstrap@next bootstrap-loader jquery npm i --save popper.js (needed for dropdown menues)
- Font Awesome: icons
- Install Node.js and MongoDB
- Install Angular CLI:
npm i -g @angular/cli@7.0.3: Install global and local. - From project root folder install all the dependencies:
npm i
- Command window 1:
Windows:mongod: run MongoDB
Mac OS X:mongod --config /usr/local/etc/mongod.conf: run MongoDB
Mac OS X homebrew:brew info mongo: How to run mongoDB - Command window 2:
ng build --watch: build the project and keep watching the files for changes - Command window 3:
npm start: run Express server - Go to localhost:3000
- Command window 1:
Windows:mongod: run MongoDB
Mac OS X:mongod --config /usr/local/etc/mongod.conf: run MongoDB
Mac OS X homebrew:brew info mongo: How to run mongoDB - Command window 2:
a)npm run init: SASS-build, client-build for production, server-build
b)npm start: run Express server - Go to localhost:3000
docker.compose.ymlfor production builddocker.compose-dev.ymlfor development build- Docker Hub