The front-end of this project was generated with Angular CLI.
This project uses the MEAN stack:
- Mongoose.js (MongoDB): database
- Express.js: backend framework
- Angular 2: frontend framework
- Node.js: runtime environment
- Angular CLI: project scaffolding
- Bootstrap: layout and styles
- Font Awesome: icons
- Install Node.js and MongoDB
- Install Angular CLI:
npm i angular-cli -g
- From project root folder install all the dependencies:
npm i
- Command window 1:
mongod
: run MongoDB - Command window 2:
ng build -w
: build the project and keep watching the files for changes - Command window 3:
npm start
: run Express server - Go to localhost:3000
Run ng build -prod
to create a production ready bundle.
- you have any suggestion or advice to improve this project.
- you noticed any problem or error.
- tests
- browser autoreload on file changes
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve
.
To get more help on the angular-cli
use ng --help
or go check out the Angular-CLI README.