Initial commit

This commit is contained in:
pptx704
2025-06-14 04:28:24 +03:00
parent 813a7eaf0d
commit 52aa93d67c
22 changed files with 442 additions and 2 deletions

20
main.py Normal file
View File

@ -0,0 +1,20 @@
from fastapi import FastAPI
from fastapi.middleware.cors import CORSMiddleware
from app.routers import auth
app = FastAPI()
app.add_middleware(
CORSMiddleware,
allow_origins=["*"],
allow_methods=["*"],
allow_headers=["*"]
)
@app.get("/")
async def index() -> str:
return "Version 0.0.1"
app.include_router(auth.router)