
This commit includes: - Project structure and FastAPI setup - SQLAlchemy models for users, vehicles, schedules, and tickets - Alembic migrations - User authentication and management - Vehicle and schedule management - Ticket purchase and cancellation with time restrictions - Comprehensive API documentation
10 lines
435 B
Python
10 lines
435 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.v1.endpoints import auth, tickets, users, vehicles
|
|
|
|
api_router = APIRouter()
|
|
|
|
api_router.include_router(auth.router, prefix="/auth", tags=["authentication"])
|
|
api_router.include_router(users.router, prefix="/users", tags=["users"])
|
|
api_router.include_router(vehicles.router, prefix="/vehicles", tags=["vehicles"])
|
|
api_router.include_router(tickets.router, prefix="/tickets", tags=["tickets"]) |