deploy-todo / README.md
umar-30's picture
Claude Opus 4.5
Deploy FastAPI backend for Todo application
18ade12
|
Raw History Blame Contribute Delete
529 Bytes
---
title: Todo API Backend
emoji: ๐Ÿš€
colorFrom: indigo
colorTo: blue
sdk: docker
app_port: 7860
pinned: false
---
# Todo API Backend
FastAPI backend for the Todo Full-Stack Web Application.
## Endpoints
- `GET /` - API info
- `GET /health` - Health check
- `GET /api/tasks` - List tasks
- `POST /api/tasks` - Create task
- `PUT /api/tasks/{id}` - Update task
- `DELETE /api/tasks/{id}` - Delete task
## Environment Variables
Set these in your HF Space secrets:
- `DATABASE_URL` - PostgreSQL connection string (required)