CoolFace
Apppublic

Hammad712/Auth

sourceHugging Faceupdated 11mo agoView on Hugging Face
0likes
main.py19 linesDownload Raw Back to root
1# main.py2 3from fastapi import FastAPI4from auth import router as auth_router5 6app = FastAPI(7    title="User Authentication API",8    description="Handles user signup, login, profile update, and avatar management.",9    version="1.0.0"10)11 12# Include the auth router under the /auth prefix13app.include_router(auth_router)14 15# Optional root route to verify the app is running16@app.get("/")17async def root():18    return {"message": "Welcome to the User Auth API"}19