Angular 2 Full Stack project Dependencies Donate MIT license

The front-end of this project was generated with Angular CLI.

This project uses the MEAN stack:

Prerequisites

  1. Install Node.js and MongoDB
  2. Install Angular CLI: npm i angular-cli -g
  3. From project root folder install all the dependencies: npm i

Run

  1. Command window 1: mongod: run MongoDB
  2. Command window 2: npm run be: run Express backend server (with autoreload)
  3. Command window 3: npm start: run Angular frontend (with autobuild and autoreload)
  4. Browser will automatically open to: localhost:4200

Production

Run npm run prod to run frontend with a production ready bundle.

Preview

Preview

Please open an issue if

  • you have any suggestion or advice to improve this project.
  • you noticed any problem or error.

To do

  • Tests

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

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.

Further help

To get more help on the angular-cli use ng --help or go check out the Angular-CLI README.

Author