Skip to content

Commit

Permalink
create test endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
liberty-rising committed Jan 5, 2024
1 parent badc4fd commit 5b8c256
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ async def shutdown_event():
pass


@app.get("/")
def read_root():
return {"Hello": "World"}


# Registering the startup and shutdown events
app.router.on_startup.append(startup_event)
app.router.on_shutdown.append(shutdown_event)
Expand Down

0 comments on commit 5b8c256

Please sign in to comment.