This project is built using Angular 15.0.3 and leverages Angular Material 15.2.9 for UI components. End-to-end (E2E) testing is implemented using Cypress 13.13.0. The application uses the Pokémon TCG API to retrieve data related to Pokémon Trading Card Game.
Run npm install
to install all required dependencies.
Before running the application, you need to create an environment file to store your API key. This file should be named environment.ts
and placed in the root /pokedex/src/environments
. An example file named environment.example.ts
is provided as a template to help you get started.
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.
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 ng test
to execute the unit tests via Karma.
Run npm run cy:open
to execute the end-to-end tests via Cypress.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.