Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
app = FastAPI()


@app.get("/")
def read_root():
"""Simple health check endpoint.

Returns a friendly message indicating the API is running.
"""
return {"message": "NodeProbe API is running"}


def get_db():
db = database.SessionLocal()
try:
Expand Down