Skip to content

Zephalon/pokedex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokédex

A simple Pokédex for kids made with React.js. It shows for all species:

  • Name
  • Types
  • Sprite & Artwork
  • ID
  • Genus & Flavor Text
  • Evolutions
  • Stats & Strength

Also you can:

  • Search for Pokémon by name
  • Add Pokémon to favorites

The interface is currently only available in german but can easily be modified.

Here's a preview.

Installation

npm i

Scraping

Data & Sprites

This project uses the free data from Pokeapi.co which is cached and transformed with a Python script. The basic dataset and all sprites (up to GEN8) are already included in the repository. If you need to update or modify the database you can always re-scrape the API with Python.

cd scraper
python pokeapi.py

Official Artwork

The copyrighted artwork is not included in this repository. It is free to use for non-profitable projects but with Nintendo and Gamefreak you never know. I scraped the files from Pokewiki.de and you'll have to do it too. But fear not: just run the artwork.py script once to set everything up. If you skip this step, you'll only see the low-res fallback sprites.

pip install beautifulsoup4
cd scraper
python artwork.py

Of course you can add images from other sources - just make sure you add them according to this scheme: public/pokemon_artwork/[species_id].png.

Development & Building

npm start
npm run build

About

A custom Pokédex made with React.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published