
- Created FastAPI application with SQLite database integration - Implemented OpenWeatherMap client with caching - Added endpoints for current weather, forecasts, and history - Included comprehensive error handling and validation - Set up Alembic migrations - Created detailed README with usage examples generated with BackendIM... (backend.im)
5 lines
172 B
Python
5 lines
172 B
Python
from fastapi import APIRouter
|
|
from app.api.endpoints import weather
|
|
|
|
api_router = APIRouter()
|
|
api_router.include_router(weather.router, prefix="/weather", tags=["weather"]) |