/spa-architecture-angular-domain

SPA Architecture, using Angular and Domain layer

Primary LanguageCSS

spa-architecture-angular-domain

SPA Architecture, using Angular and Domain layer

Requirements

  • NodeJS 7.5+
  • Angular Cli 1.x

Stack

  • Pug 2.x
  • Stylus 2.x
  • TypeScript 2.x
  • Angular 4.3

Contribution guide

Remotes

The remotes follow the convention:

  • origin: fork in the account of the developer

  • upstream: main repository

Commit Style

Please consider de following git styles for the commit messages:

http://udacity.github.io/git-styleguide/

Configuring

Before build, you should set:

$ npm i -g @angular/cli

Then you also need to set within the root file:

$ npm i

Building

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

Distributing

For development environment:

$ npm run dist-dev

For staging environment:

$ npm run dist-stag

For production environment:

$ npm run dist-prod

Unit Testing

To execute the unit tests via Karma, run:

$ npm test

E2E Testing

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

License

MIT

Free Software, Hell Yeah!