Spaces:
Running
Running
File size: 1,351 Bytes
543801f 69be42f 543801f 69be42f dc3879e 69be42f dc3879e 543801f dc3879e 69be42f dc3879e 69be42f dc3879e 543801f 69be42f dc3879e 69be42f dc3879e 543801f 69be42f 543801f 69be42f 543801f 69be42f dc3879e 69be42f 543801f 69be42f dc3879e 69be42f dc3879e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
---
title: Todo List Backend API
emoji: ⚡
colorFrom: blue
colorTo: purple
sdk: docker
pinned: false
---
# Todo List Backend API
FastAPI-based REST API for managing tasks with PostgreSQL persistence, AI chatbot, and WebSocket support.
## Features
- ✅ Full CRUD operations for tasks
- ✅ User authentication with JWT
- ✅ AI chatbot for task management (OpenAI & Google Gemini)
- ✅ WebSocket real-time events
- ✅ Task tags, due dates, and priorities
- ✅ Conversation history
- ✅ MCP server integration
- ✅ OpenAPI documentation
## Tech Stack
- Python 3.13+
- FastAPI (web framework)
- SQLModel (ORM)
- Neon PostgreSQL (database)
- OpenAI & Google Gemini (AI)
- WebSockets (real-time events)
## API Endpoints
| Method | Endpoint | Description |
|--------|----------|-------------|
| POST | `/api/auth/sign-up` | Register user |
| POST | `/api/auth/sign-in` | Login user |
| GET | `/api/tasks` | List tasks |
| POST | `/api/tasks` | Create task |
| GET | `/api/tasks/{id}` | Get task details |
| PUT | `/api/tasks/{id}` | Update task |
| DELETE | `/api/tasks/{id}` | Delete task |
| POST | `/api/chat` | AI chat endpoint |
| WS | `/ws` | WebSocket events |
## API Documentation
Once deployed, access interactive docs at `/docs`
## Environment Variables
Required variables are configured in the Space settings.
## License
MIT
|