P'dexiom is a full-stack app that exposes a clean JSON API for Pokémon data and ships with a documentation-style UI to explore endpoints and interact with the data.
Architecture and implementation highlights
- File-based routing: requests are mapped to src/app/**/route.js handlers by URL path, with method dispatch for
GET,HEAD,POST, andPATCH. - Image pipeline: optional image uploads are accepted on Pokemon creation, optimized with
sharp, and uploaded via Supabase storage. - Evolution rules: evolution updated include guardrails
- No self-evolution
- No backward chains
- Maximum chain of 3
- Derived data: Pokemon weaknesses are computed based selected type at creation time so API can return a complete record

