SPA Architecture, using Angular and Domain layer
- NodeJS 7.5+
- Angular Cli 1.x
- Pug 2.x
- Stylus 2.x
- TypeScript 2.x
- Angular 4.3
The remotes follow the convention:
-
origin: fork in the account of the developer
-
upstream: main repository
Please consider de following git styles for the commit messages:
http://udacity.github.io/git-styleguide/
Before build, you should set:
$ npm i -g @angular/cli
Then you also need to set within the root file:
$ npm i
For local environment:
$ npm start
For development environment:
$ npm run start-dev
For staging environment:
$ npm run start-stag
For production environment:
$ npm run start-prod
For development environment:
$ npm run dist-dev
For staging environment:
$ npm run dist-stag
For production environment:
$ npm run dist-prod
To execute the unit tests via Karma, run:
$ npm test
To execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via npm start
:
$ npm run e2e
MIT
Free Software, Hell Yeah!