next-davidgarcia / Angular2-Full-Stack

Angular 2 Full Stack project built using Angular 2, Angular CLI, Express, Mongoose and Node.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular 2 Full Stack project Donate MIT license

This project was generated with angular-cli version 1.0.0-beta.14.

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: ng build -w: build the project and keep watching the files for changes
  3. Command window 3: npm start: run Express server
  4. Go to localhost:3000

Production

Run ng build --prod to create 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
  • browser autoreload on file changes

Running unit tests (to do yet)

Run ng test to execute the unit tests via Karma.

Running end-to-end tests (to do yet)

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

About

Angular 2 Full Stack project built using Angular 2, Angular CLI, Express, Mongoose and Node.


Languages

Language:TypeScript 49.8%Language:HTML 27.5%Language:JavaScript 21.0%Language:CSS 1.7%