
- 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
155 B
Python
5 lines
155 B
Python
"""Import all models here to ensure they are registered with SQLAlchemy."""
|
|
|
|
from app.db.base import Base # noqa
|
|
from app.models.todo import Todo # noqa
|