Automated Action 3bed1d0510 Create Todo API with FastAPI and SQLite
- Implement Todo CRUD API endpoints
- Set up SQLite database with SQLAlchemy
- Create Todo model and schemas
- Configure Alembic migrations
- Add comprehensive documentation

🤖 Generated with and Co-Authored by [BackendIM](https://backend.im)
2025-05-11 18:30:32 +00:00

19 lines
416 B
Python

from pathlib import Path
from typing import Any, Dict, Optional
from pydantic import BaseSettings, validator
class Settings(BaseSettings):
PROJECT_NAME: str = "Todo Backend Service"
API_V1_STR: str = "/api/v1"
# Base directory
BASE_DIR: Path = Path(__file__).resolve().parent.parent.parent
class Config:
env_file = ".env"
case_sensitive = True
settings = Settings()