This project was generated with angular-cli version 1.4.7.
- MongoDb No SQL database https://www.mongodb.com/
- JWT for Auth https://jwt.io/ & https://github.com/auth0/angular2-jwt
- SocketIo https://socket.io/
- ExpressJs http://expressjs.com/
- google maps with AGM https://angular-maps.com/
- Angular Material https://material.angular.io/
- angular4 https://angular.io/
- Clone this repo from Git
- Run
npm install
in your command line. - Rename file
example_config.js
toconfig.js
in/server/config
folder and edit it. This file will be included in.gitignore
Login navigate to localhost:3000/
- MongoDB installed and running (http://mongodb.org)
- Node.js and NPM installed (http://nodejs.org)
- ImageMagick or GraphicsMagick installed, more info in gm page on how to install depending your Operating System. If installing ImageMagick on Windows, please check "Install Legacy Utitities (e.g. convert") during installation otherwise node will report errors.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive/pipe/service/class/module
.
To get more help on the angular-cli
use ng --help
or go check out the Angular-CLI README.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Use ng build --watch
to avoid re-loading page when you change code
Use nodemon npm start
to avoid re-loading page when you change code
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
.
Open your favourite web browser and point to http://localhost:3000
Enjoy!
install mongodb https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
- We recommand https://github.com/Unitech/pm2
- run
pm2 start npm -- start
To get more help on the angular-cli
use ng help
or go check out the Angular-CLI README.