3 Commits

Author SHA1 Message Date
Automated Action
68392c171a Add complete FastAPI todo app with CRUD operations
- Implement Todo model with SQLAlchemy
- Create Pydantic schemas for request/response validation
- Add complete CRUD API endpoints (/api/v1/todos)
- Include proper error handling and HTTP status codes
- Set up proper project structure with organized modules
- All code linted and formatted with ruff
2025-06-20 23:26:54 +00:00
Automated Action
6135109f93 Clean up project structure - remove extra files
- Removed auto-generated files that weren't part of the basic structure request
- Fixed main.py imports to only include necessary dependencies
- Cleaned up __init__.py files to be empty as intended
- Maintained only the requested basic FastAPI project structure
2025-06-20 23:21:15 +00:00
Automated Action
16000f8745 Set up database layer for todo app
- Created app/db/base.py with SQLAlchemy Base to avoid circular imports
- Created app/db/session.py with SQLite database connection using /app/storage/db path
- Created app/models/todo.py with Todo model including all required fields
- Created app/schemas/todo.py with Pydantic schemas for request/response
- Added requirements.txt with FastAPI, SQLAlchemy, and other dependencies
- Created proper package structure with __init__.py files
2025-06-20 23:17:54 +00:00