
- Set up FastAPI application structure - Implemented SQLite database integration with SQLAlchemy - Added Alembic migrations for database versioning - Created bet model and API endpoints for CRUD operations - Added comprehensive README with setup and usage instructions - Added health check endpoint and CORS support
8 lines
202 B
Python
8 lines
202 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.api_v1.endpoints import bets
|
|
|
|
api_router = APIRouter()
|
|
|
|
# Include routers from endpoints
|
|
api_router.include_router(bets.router, prefix="/bets", tags=["Bets"]) |