---
# nuzlocke-tracker-hy41
title: Admin Panel
status: completed
type: task
priority: normal
created_at: 2026-02-04T15:47:05Z
updated_at: 2026-02-05T18:22:09Z
parent: nuzlocke-tracker-f5ob
---

Build an admin interface for managing reference data.

## Checklist
- [x] Create admin routes/pages separate from tracker
- [x] Game Management:
  - [x] List all games
  - [x] Add new game
  - [x] Edit game details
  - [x] Delete game (with cascade warning)
- [x] Route Management:
  - [x] List routes for a game
  - [x] Add new route
  - [x] Edit route details (name, order)
  - [x] Delete route
  - [x] Reorder routes via drag-and-drop (implemented as up/down buttons)
- [x] Route Pokémon Assignment:
  - [x] View Pokémon available on a route
  - [x] Add Pokémon to route
  - [x] Remove Pokémon from route
  - [x] Set encounter rates/methods
- [x] Pokémon Management:
  - [x] List all Pokémon
  - [x] Add new Pokémon
  - [x] Edit Pokémon details
  - [x] Bulk import from CSV/JSON
- [x] Admin API endpoints:
  - [x] POST/PUT/DELETE for games, routes, pokemon, route_pokemon

## Notes
- Can be a simple CRUD interface
- Consider using a UI library for tables/forms
- No auth required for MVP (assume local/trusted use)