Rick And Morty

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.

Quick start

Install npm packages with npm i command. Use npm start command to start a project on http://localhost:80800/

Development server

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.

Code scaffolding

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.

Build

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.

Running unit tests

Run ng test to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

NGRX

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.

DEMO

For view demo click here

HANDLE ERROR

I used a http interceptor to manage http request error. For the moment I show a simple console log with error.