tizhad / pokemon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pokemon ⚡️

Overview

This project is an Angular application that fetches and displays a list of Pokemon from an API. The application is composed of several components and services that work together to provide the desired functionality.

Project Structure

The project is structured in the standard Angular way, with the main application code located in the src/app directory. The components directory contains the Angular components used in the application, and the services directory contains the services.

Components

  • ItemListComponent: This is the main component of the application. It fetches the Pokemon data from the ApiService and displays it in a list.

Services

  • ApiService: This service is responsible for fetching the Pokemon data from the API.

Setup and Installation

To set up and run the project, you need to have Node.js and npm installed on your machine.

Follow these steps:

  • Clone the repository
  • Navigate to the project directory
  • Install the dependencies: npm install
  • Start the application: ng serve
  • The application will be available at http://localhost:4200.

Testing

The project uses Jasmine and Karma for unit testing. To run the tests, use the command ng test.

Demo

Project is ready on this link on Stackblitz: https://stackblitz.com/github/tizhad/pokemon

About


Languages

Language:TypeScript 81.7%Language:SCSS 10.7%Language:HTML 7.6%