Tooluloope / Pokemon-API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Pokémon Evolution Chain

This application helps you find the evolution chain of any Pokémon using the PokeAPI.

Getting Started

These instructions will help you set up the project on your local machine for development and testing.

Prerequisites

  • Node.js - Please visit Node.js to download and install Node.js.

Installation

  1. Clone this repository:
    git clone https://github.com/Tooluloope/Pokemon-API.git
    
  2. Change directory into the project's folder:
    cd pokemon-api
    
  3. Install the project dependencies:
    npm install
    

Running the Script

You can run the script by executing the following command in your terminal:

npx ts-node src/index.ts <pokemonName>

Replace <pokemonName> with the name of the Pokémon whose evolution chain you want to find.

Running Tests

To run the unit tests, execute the following command:

npm test

This command will start the Jest test runner and run all test files in the project.

Built With

About


Languages

Language:TypeScript 97.5%Language:JavaScript 2.5%