
- Created app directory structure with db, models, and schemas modules - Added SQLAlchemy Base class in app/db/base.py to prevent circular imports - Implemented database session setup with SQLite configuration - Created Todo model with id, title, description, completed, created_at, updated_at fields - Added Pydantic schemas for TodoCreate, TodoUpdate, and TodoResponse - Added requirements.txt with FastAPI, SQLAlchemy, and other dependencies
6 lines
113 B
Plaintext
6 lines
113 B
Plaintext
fastapi==0.104.1
|
|
uvicorn[standard]==0.24.0
|
|
sqlalchemy==2.0.23
|
|
pydantic==2.5.0
|
|
python-multipart==0.0.6
|
|
ruff==0.1.6 |