Skip to content

To celebrate 25 years of Pokemon I created a ReactJS App fetching data from the pokeAPI.

Notifications You must be signed in to change notification settings

YuriDevAT/pokemon

Repository files navigation

25 years of Pokemon

On the occasion of the 25th anniversary of Pokemon, I created an app related to Pokemon with the data fetched from the PokeAPI a Pokedex using ReactJS and Bootstrap, deployed with Netlify, which allows the user to click on each Pokemon to show detailed information.

The user can scroll through the Pokedex which contains more than 800 different Pokemon. A button on the lower right corner will appear shortly after starting to scroll to bring the user to the top of the page in one click.

App preview

Fetched data

The user can click on each Pokemon to show detailed information of each Pokemon, like stats, moves, abilities, types and their evolution, fetched from different API links. Depending of the type ofthe clicked Pokemon the background color is customized.

Used API links:

Live view of the app

The app was deployed with Netlify. Follow the link to check out the app: Pokemon app.

Evolution

The appearance of evolution and its value depends on the evolution chain of each Pokemon.
Four examples will demonstrate these differences:

  • Pokemon 115: Kangaskhan, which does not have an evolution. Therefore, the tab is disabled.

  • Pokemon 133: Eevee, whish has several evolutions depending on which stone is used to force an evolution.

  • Pokemon 265: Wurmple, which has two different first evolutions (depending on their nature) which then evolutes to an individuell second state.

  • Pokemon 280: Ralts, which has two different second evolution depending on its nature.

There may be other Pokemon with other kind of singularities which I am not aware at this stage now.

Open issues

The app is still a work in progress. To see open issues please take a look on the GitHub Repo issue section.

Getting Started with Create React App

This project was bootstrapped with Create React App.

Download the app by cloning the repository

Use git clone https://github.com/YuriDevAT/pokemon.git do download the app.

Open the project directory by running the command cd pokemon in the command line.
When using VSC run the command code . to open the project in VSC.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Once tests are fully written, npm test will launch the test runner in the interactive watch mode.