Fix login errors, add get /users and get /user (username or id) routes.
This commit is contained in:
parent
97afe5447a
commit
fbf731acb6
5 changed files with 59 additions and 24 deletions
|
|
@ -4,7 +4,7 @@ from fastapi import FastAPI
|
|||
|
||||
from app.config import settings
|
||||
from app.database import create_database
|
||||
from app.routers import project_route, service_route
|
||||
from app.routers import project_route, service_route, user_route
|
||||
|
||||
|
||||
@asynccontextmanager
|
||||
|
|
@ -24,3 +24,4 @@ app = FastAPI(
|
|||
|
||||
app.include_router(project_route.router)
|
||||
app.include_router(service_route.router)
|
||||
app.include_router(user_route.router)
|
||||
|
|
|
|||
Loading…
Reference in a new issue