This project was generated with Angular CLI version 12.2.7.
Run npm install
to imporst node_modules
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.
Run jest --detectOpenHandles
to execute the unit tests via [Jest]
Run cypress:open
to execute the end-to-end tests via cypress.
Run compodoc -p tsconfig.app.json -s
to generate doc via compodoc
description:
-
I created three separate components for each level.
-
I tried to split the solution as much as possible with smart and dumb components. Such as the components (action-button / input / list)
-
I created an angular.module.ts file for all calls to Angular Material.
-
I added an interceptor with error handling in case of internet outage.
-
I used Jest for unit testing.
-
I used Cypress for all e2e.
for the rest, I let you discover, ah ah ah!