Automated Action 852e0a32b1 Create simple FastAPI application with SQLite and Alembic
- Set up project structure
- Create FastAPI app with health endpoint
- Implement SQLAlchemy with SQLite database
- Set up Alembic for database migrations
- Create CRUD operations for items
- Add comprehensive documentation
2025-05-20 14:20:21 +00:00

20 lines
436 B
Python

from typing import List
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
PROJECT_NAME: str = "Simple FastAPI Application"
PROJECT_DESCRIPTION: str = "A simple FastAPI application with SQLite database"
PROJECT_VERSION: str = "0.1.0"
API_V1_STR: str = "/api/v1"
# CORS settings
ALLOWED_ORIGINS: List[str] = ["*"]
class Config:
case_sensitive = True
settings = Settings()