About the website
Why make this website?
I really love Pokémon Database however there are small things about the site that i don't like, so instead of putting up with the minor annoyances I thought it would be fun to write my own version.
I'd already written a Pokédex website with the main goal being generation specific tweaks depending on the one you want, and no JS. I think JS is overused on the internet and wanted to see what I could make without it.
Here is a list of the main tweaks I wanted to make with this website compared to Pokémon Database:
- Dark/Light mode depending on browser prefrence
- Simple menu navigation without the buggy JS
- Improved moveset navigation for Pokémon
- Improved search ergonomics
- Full usability without JS including search
Software and tools used
Here is a list of the tools used:
- Visual Studio Code
- Rust language
- Nginx webserver
The core of the site is the Axum web framework and
Askama for templating, besides that most of the
other things are for small features.
Here is the .toml file for the project if you are interested:
Data
The data for this website is almost entirely from the PokeAPI project, however the data about changes that pokemon have had isn't stored on that database so I've written a web scraper that pulls that info from the Pokémon Database page for the pokemon then writes it to a JSON file that is read.