2 Commits

Author SHA1 Message Date
Automated Action
40981760c9 Fix Pydantic v2 configuration for application startup
- Added proper type annotations for DB_DIR using ClassVar[Path]
- Updated Settings class to use model_config instead of deprecated Config class
- Fixed PydanticUserError for non-annotated attributes in settings
- Application should now start properly with uvicorn
2025-06-17 05:58:42 +00:00
Automated Action
7b3cd8d0dd Complete FastAPI Todo application with full CRUD functionality
- 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
2025-06-17 05:28:06 +00:00