Automated Action 18f0e055cd Create simple todo app with FastAPI and SQLite
- Setup FastAPI project structure
- Create SQLAlchemy models and database connection
- Implement Alembic migrations
- Create CRUD operations for todos
- Add API endpoints for todos
- Add health endpoint
- Update README.md

generated with BackendIM... (backend.im)
2025-05-13 05:06:00 +00:00

15 lines
301 B
Python

from pathlib import Path
from pydantic_settings import BaseSettings
from typing import Optional
class Settings(BaseSettings):
API_V1_STR: str = "/api/v1"
PROJECT_NAME: str = "Todo App API"
class Config:
env_file = ".env"
case_sensitive = True
settings = Settings()