generated from pptx704/fastapi-template
Initial commit
This commit is contained in:
0
app/routers/__init__.py
Normal file
0
app/routers/__init__.py
Normal file
11
app/routers/auth.py
Normal file
11
app/routers/auth.py
Normal file
@ -0,0 +1,11 @@
|
||||
from fastapi import APIRouter, Depends, status
|
||||
from sqlalchemy.orm import Session
|
||||
|
||||
from app import database, schemas
|
||||
|
||||
from .. import schemas
|
||||
from ..database import get_db
|
||||
from ..repositories import auth
|
||||
from ..security import get_user
|
||||
|
||||
router = APIRouter(prefix="", tags=["auth"])
|
||||
Reference in New Issue
Block a user