initial commit
worked on async alembic migrations, User model. Current issue: web_1 | INFO: 172.20.0.1:62958 - "POST /users/ HTTP/1.1" 500 Internal Server Error web_1 | ERROR: Exception in ASGI application web_1 | Traceback (most recent call last): ... web_1 | response web_1 | value is not a valid dict (type=type_error.dict) when trying to create new user
This commit is contained in:
16
app/main.py
Normal file
16
app/main.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from fastapi import FastAPI
|
||||
from users.views import router as users_router
|
||||
|
||||
|
||||
|
||||
app = FastAPI()
|
||||
app.include_router(users_router)
|
||||
|
||||
|
||||
@app.get("/")
|
||||
async def main():
|
||||
return {"Hello": "World"}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user