Files
python-fun/.agent/current-plan.md

18 lines
572 B
Markdown

# Plan: Add FastAPI to the Project
## Goal
Add FastAPI as the web framework with a minimal health check endpoint.
## Changes
### 1. Dependencies
- Add `fastapi` and `uvicorn[standard]` to `pyproject.toml` under `[project.dependencies]`
- Install dependencies into the virtual environment
### 2. Application Entry Point
- Create `main.py` with a FastAPI app instance
- Add a health check endpoint (`GET /`) that returns `{"status": "ok"}`
## Verification
- `pytest tests/` — all tests pass
- `uvicorn main:app --reload` — server starts and health endpoint responds