auth begin
This commit is contained in:
+3
-1
@@ -4,6 +4,7 @@ from fastapi import FastAPI
|
||||
from fastapi.middleware.cors import CORSMiddleware
|
||||
from database import engine, Base
|
||||
import routers.clients
|
||||
import routers.auth
|
||||
import routers.workout_types
|
||||
import routers.workouts
|
||||
import routers.exercises
|
||||
@@ -29,6 +30,7 @@ app.add_middleware(
|
||||
)
|
||||
|
||||
# Подключаем роутеры
|
||||
app.include_router(routers.auth.router)
|
||||
app.include_router(routers.clients.router)
|
||||
app.include_router(routers.workout_types.router)
|
||||
app.include_router(routers.workouts.router)
|
||||
@@ -39,7 +41,7 @@ app.include_router(routers.sync.router)
|
||||
@app.get("/")
|
||||
def root():
|
||||
return {
|
||||
"message": "Gym Tracker API",
|
||||
"message": "Gym Bro API",
|
||||
"docs": "/docs",
|
||||
"version": "1.0.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user