Pokedex
A simple Pokedex API, providing two endpoints:
GET /pokemon/
GET /pokemon/translated/
Pre-requisite
You'll need to install:
How to build
Using cargo
:
cargo build
How to run
Using cargo
:
cargo run
For more traces
RUST_LOG=trace cargo run
How to test
There are unit tests and integration tests:
cargo test
Production
For production, we should
- Cache the data from PokeAPI using a data store like Redis
- Use an API key for Fun Translations (it's rate limit is too strict)