Add precommit and basic sqlalchemy setup
This commit is contained in:
parent
83a413b983
commit
a0110c552e
7 changed files with 285 additions and 2 deletions
|
|
@ -1,7 +1,9 @@
|
|||
from db.engine import engine
|
||||
from fastapi import FastAPI
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
|
||||
@app.get("/api/python")
|
||||
def hello_world():
|
||||
return {"message": "Hello World"}
|
||||
return {"message": "Hello World"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue