4 Commits

Author SHA1 Message Date
Automated Action
f44d1064ae Add request logging middleware to FastAPI application
Added RequestLoggingMiddleware that logs incoming HTTP requests with method, path, response status, and processing time using Python's built-in logging module.
2025-06-19 17:43:16 +00:00
Automated Action
73197fb26f Update code via agent code generation 2025-06-19 00:42:38 +00:00
Automated Action
46ec45c754 Setup basic FastAPI project structure with CORS, health endpoint, and directory structure 2025-06-19 00:41:38 +00:00
Automated Action
e35edd0f6a Add database models and SQLAlchemy setup for todo app
- 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
2025-06-19 00:41:31 +00:00