Automated Action 109d0c91b8 Create FastAPI application with basic CRUD functionality
- Set up project structure with FastAPI app
- Implement items CRUD API endpoints
- Configure SQLite database with SQLAlchemy
- Set up Alembic migrations
- Add health check endpoint
- Enable CORS middleware
- Create README with documentation
2025-06-06 09:44:58 +00:00

13 lines
347 B
Python

from pydantic_settings import BaseSettings
class Settings(BaseSettings):
API_V1_STR: str = "/api/v1"
PROJECT_NAME: str = "Quick API Service"
# Set environment variables if needed
# DATABASE_URL: str = os.environ.get("DATABASE_URL", "sqlite:///./app.db")
class Config:
env_file = ".env"
settings = Settings()