
- Setup FastAPI project structure - Add database models for calculations - Create API endpoints for basic math operations - Add health endpoint - Configure SQLite and Alembic for database management - Update README with usage instructions generated with BackendIM... (backend.im)
6 lines
238 B
Python
6 lines
238 B
Python
from fastapi import APIRouter
|
|
from app.api.endpoints import calculator, health
|
|
|
|
router = APIRouter()
|
|
router.include_router(calculator.router, prefix="/calculator", tags=["calculator"])
|
|
router.include_router(health.router, tags=["health"]) |