
- Added user model and schema definitions - Implemented JWT token authentication - Created endpoints for user registration and login - Added secure password hashing with bcrypt - Set up SQLite database with SQLAlchemy - Created Alembic migrations - Added user management endpoints - Included health check endpoint generated with BackendIM... (backend.im)
8 lines
264 B
Python
8 lines
264 B
Python
from fastapi import APIRouter
|
|
from app.api.v1.endpoints import auth, users
|
|
|
|
router = APIRouter()
|
|
|
|
# Include sub-routers
|
|
router.include_router(auth.router, prefix="/auth", tags=["authentication"])
|
|
router.include_router(users.router, prefix="/users", tags=["users"]) |