
- Set up FastAPI project structure - Create database models for locations and weather data - Implement OpenWeatherMap API integration - Create API endpoints for current weather and history - Add health endpoint - Set up database migrations with Alembic - Update README with documentation generated with BackendIM... (backend.im)
6 lines
173 B
Python
6 lines
173 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"]) |