
- Add SQLAlchemy models for Todo with timestamps - Create Pydantic schemas for request/response validation - Implement CRUD operations for Todo management - Add REST API endpoints for todo operations (GET, POST, PUT, DELETE) - Configure SQLite database with proper connection settings - Set up Alembic migrations for database schema management - Add comprehensive API documentation and health check endpoint - Enable CORS for all origins - Include proper error handling and HTTP status codes - Update README with complete setup and usage instructions
5 lines
102 B
Python
5 lines
102 B
Python
from app.models.todo import Todo # noqa
|
|
|
|
# Add all models here for easy importing
|
|
__all__ = ["Todo"]
|