This project was generated with Angular CLI version 10.1.6. Current version is 12.x.x
This web application use Rick And Morty API to show data.
Install npm packages with npm i command.
Use npm start command to start a project on http://localhost:80800/
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 Karma.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.
In this project was used NgRx for the state manager. I know is too much for this small project but it is for illustrative and study purposes only.
For view demo click here
I used a http interceptor to manage http request error. For the moment I show a simple console log with error.