This client part was created with Angular CLI version 1.0.1. Angular4, Materialize, ngx-datatable, typescript, ES6. The server part was done using gulp, ES6, typescript, express, mongoose, mongoldb
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
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
.
Before running server the frontend parts needs to be build in production mode using
yarn run build
Then to run server
yarn run start
The default node scripts will run gulp task to run the server. All the configurations are in config.ts - for the server part and in client/environments for the frontend part.
there is swagger documentation for the REST API on the endpoint /doc