
- Create User model and database schema - Add JWT authentication with secure password hashing - Create authentication endpoints for registration and login - Update invoice routes to require authentication - Ensure users can only access their own invoices - Update documentation in README.md
7 lines
250 B
Python
7 lines
250 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.routes import invoices, auth
|
|
|
|
api_router = APIRouter()
|
|
api_router.include_router(invoices.router, prefix="/invoices", tags=["invoices"])
|
|
api_router.include_router(auth.router, prefix="/auth", tags=["auth"]) |