Automated Action e84ae05b4e Implement simple Todo application with FastAPI and SQLite
- Set up project structure
- Configure SQLite database connection
- Create Todo model and schema
- Implement CRUD API endpoints for todo items
- Add health check endpoint
- Update README with documentation

generated with BackendIM... (backend.im)
2025-05-13 11:24:31 +00:00

14 lines
309 B
Python

from pathlib import Path
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
APP_NAME: str = "Simple Todo App"
# Database
DB_DIR: Path = Path("/app") / "storage" / "db"
class Config:
env_file = ".env"
case_sensitive = True
settings = Settings()