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
metadata
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 infoGET /health- Health checkGET /api/tasks- List tasksPOST /api/tasks- Create taskPUT /api/tasks/{id}- Update taskDELETE /api/tasks/{id}- Delete task
Environment Variables
Set these in your HF Space secrets:
DATABASE_URL- PostgreSQL connection string (required)