--- # nuzlocke-tracker-4c31 title: Backend Setup & Framework status: completed type: task priority: normal created_at: 2026-02-04T15:46:49Z updated_at: 2026-02-04T16:10:13Z parent: nuzlocke-tracker-f5ob blocking: - nuzlocke-tracker-l7e3 - nuzlocke-tracker-bkhs --- Set up the backend API project with chosen framework and structure. ## Checklist - [x] Choose backend framework (Node.js/Express, Fastify, NestJS, Go, Python/FastAPI, etc.) - **Python/FastAPI** - [x] Initialize backend project - [x] Set up TypeScript (if applicable) - N/A (Python with type hints via Pydantic) - [x] Configure linting and formatting - **ruff** - [x] Set up project structure (routes, controllers, services, models) - [x] Add environment configuration (.env handling) - **pydantic-settings** - [x] Set up development server with hot reload - **uvicorn --reload** - [x] Add basic health check endpoint - `/health` and `/` ## Considerations - Should match team's expertise - Consider ease of deployment - TypeScript preferred for type safety with frontend