This project is an Angular template project that implements the Onion Architecture.
Any npm
and ng
command needs to be run in app
directory.
Run npm install
to download and install external dependencies.
Run npm run link
to link the npm modules domain
, view
, client
and state
between them.
The command simply runs npm install
in each folder.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application 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|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the app/dist/
directory.
Since this project is a template, not default test framework has been inscluded.
To get more help on the Angular Onion Architecture, go check out the related article on Medium