Add precommit and basic sqlalchemy setup

This commit is contained in:
Joey Yakimowich-Payne 2023-08-09 11:00:55 -06:00
commit a0110c552e
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1
7 changed files with 285 additions and 2 deletions

View file

@ -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"}