Ali2206 commited on
Commit
2a875aa
·
verified ·
1 Parent(s): abd6fee

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -19
app.py DELETED
@@ -1,19 +0,0 @@
1
- from fastapi import FastAPI
2
- from fastapi.middleware.cors import CORSMiddleware
3
- from app.api.routes import router as api_router
4
-
5
- app = FastAPI()
6
-
7
- app.add_middleware(
8
- CORSMiddleware,
9
- allow_origins=["*"],
10
- allow_credentials=True,
11
- allow_methods=["*"],
12
- allow_headers=["*"],
13
- )
14
-
15
- app.include_router(api_router)
16
-
17
- @app.get("/")
18
- def root():
19
- return {"message": "🚀 FastAPI MongoDB with JWT & bcrypt is running"}