swadhinbiswas docs(examples): add 10 progressive tutorial examples and test project · 7/9/2026
b48e461
21 lines · 299 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""JustAPI application — test_project
"""

from justapi import JustAPIApp

app = JustAPIApp()


@app.get("/")
async def root():
    return {"message": "Hello from test_project!"}


@app.get("/health")
async def health():
    return {"status": "healthy"}


if __name__ == "__main__":
    app.run()