Initial commit: Setup FastAPI project structure
This commit is contained in:
0
app/__init__.py
Normal file
0
app/__init__.py
Normal file
8
app/main.py
Normal file
8
app/main.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from fastapi import FastAPI
|
||||
|
||||
app = FastAPI(title="CargoTrace API", version="0.1.0")
|
||||
|
||||
|
||||
@app.get("/")
|
||||
async def root():
|
||||
return {"message": "Welcome to CargoTrace API"}
|
||||
Reference in New Issue
Block a user