Spaces:
Runtime error
Runtime error
|
Download README.md from umar-30/deploy-todo: direct link, hf CLI and curl.
- Browser
- Download file 529 Bytes
-
https://huggingface.co/spaces/umar-30/deploy-todo/resolve/main/README.md
- Command line
-
hf download hf://spaces/umar-30/deploy-todo/README.md
-
curl -L -o README.md https://huggingface.co/spaces/umar-30/deploy-todo/resolve/main/README.md
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) | |