mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-10-11 20:05:41 +00:00
* Update tests structure. * Unit tests use the test database * Add function for creating database engine and session.
9 lines
229 B
Python
9 lines
229 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
from fastapi import APIRouter
|
|
from backend.app.api.v1.auth.auth import router as auth_router
|
|
|
|
router = APIRouter(prefix='/auth', tags=['认证'])
|
|
|
|
router.include_router(auth_router)
|