Add authentication routes and tests for API
Implemented comprehensive authentication endpoints including user registration, login, token refresh, password change, and user info retrieval. Added extensive test cases for these endpoints to ensure functionality and error handling.
This commit is contained in:
@@ -3,4 +3,4 @@ from fastapi import APIRouter
|
||||
from app.api.routes import auth
|
||||
|
||||
api_router = APIRouter()
|
||||
api_router.include_router(auth.router, tags=["auth"])
|
||||
api_router.include_router(auth.router, prefix="/auth", tags=["auth"])
|
||||
|
||||
Reference in New Issue
Block a user