
- Implemented Todo API endpoints
- Enhanced app structure for better organization
- Updated README with comprehensive documentation
🤖 Generated with BackendIM... (backend.im)
Simple Todo App
This is a FastAPI application that implements a simple Todo API.
Features
- Create, read, update, and delete todo items
- Health check endpoint
- SQLite database for data storage
- FastAPI automatic documentation
Getting Started
Prerequisites
- Python 3.7+
- Pip package manager
Installation
- Clone the repository
- Install dependencies:
pip install -r requirements.txt
Running the Application
uvicorn main:app --reload
The server will start at http://localhost:8000
API Documentation
- Swagger UI: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc
API Endpoints
GET /api/todos
: List all todosPOST /api/todos
: Create a new todoGET /api/todos/{todo_id}
: Get a specific todoPUT /api/todos/{todo_id}
: Update a todoDELETE /api/todos/{todo_id}
: Delete a todoGET /health
: Check application health
Description
Languages
Python
95.3%
Mako
4.7%