This is a project that aims to demonstrate the functioning of a CRUD Master / Detail using Angular.
This project was generated with Angular CLI version 11.0.1 and Node.js 14.x, using a JSON Server as development backend.
- Install Node.js 14.x
- Install Angular-Cli 11.x (npm install -g @angular/cli)
Run npm run backend
for a backend with JSON Server before start application. Navigate to http://localhost:3000/
.
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 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 dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Jest.
- remove duplicate code;
- increase code coverage;
- include endpoint configuration in configuration file;