This application helps you find the evolution chain of any Pokémon using the PokeAPI.
These instructions will help you set up the project on your local machine for development and testing.
- Node.js - Please visit Node.js to download and install Node.js.
- Clone this repository:
git clone https://github.com/Tooluloope/Pokemon-API.git
- Change directory into the project's folder:
cd pokemon-api
- Install the project dependencies:
npm install
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.
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.