Pokemon Assessment
This project was generated with Angular CLI version 16.2.15.
Features
- Intergated Pokemon List and Detail API provided in this Doc "https://pokeapi.co/".
- Followed proper Component and Service Architecture.
- Implemeted Lazy Loading in Pokemon Module as required.
- Used NGRX Store for State Management.
- Used Angular Material for all the UI related Stuff and used custom CSS as well.
- Implemented Asynchronous programming whereever it's required using NGRX.
Funtionalities
- I have implemented two pages:
- Home Page for List of Pokemons
- Pokemon Detail Page
- Search Functionality has been implemented on the listing of Pokemon.
- Pagination has been implemented properly.
- Show Only Favourite functionality has been implemented via localstorage.
- Add and Remove Faviourite Buttons to add or remove in the favourites list.
- Make the UI good enough for anyone to look into.
- Added Loader as well to make UI more eye catching and handled it via State.
Technologies
- Angular 16
- RxJS
- NGRX
- Angular Material
Development server
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application 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.
Running unit tests
Run ng test
to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.