Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
e50183e
Update message to perfectus
sunil-singularityx Dec 31, 2025
f61c28c
Update message in main.py to hello world
sunil-singularityx Dec 31, 2025
041f0bd
Update greeting message
sunil-singularityx Dec 31, 2025
9b70d86
Update API message to Hello Fastapi
sunil-singularityx Dec 31, 2025
e0588df
Change output message
sunil-singularityx Dec 31, 2025
b2aadc4
Change message to perfectus
sunil-singularityx Dec 31, 2025
be9a3a2
Update welcome message to Hello, FastAPI!
sunil-singularityx Dec 31, 2025
5732b34
Update message to 'hello perfectus!
sunil-singularityx Dec 31, 2025
d1e61d6
Update message
sunil-singularityx Dec 31, 2025
fbba1e3
Update greeting message
sunil-singularityx Dec 31, 2025
5c86ee3
Update welcome message
sunil-singularityx Dec 31, 2025
7fd542c
Update message to 'hello perfectus
sunil-singularityx Jan 1, 2026
263cc23
Update output message
sunil-singularityx Jan 1, 2026
fcd1bce
Update greeting to 'Hello Perfectus
sunil-singularityx Jan 1, 2026
2fc9c5d
Update API response message
sunil-singularityx Jan 1, 2026
f91fa95
Update welcome message to 'Hello, perfectus !
sunil-singularityx Jan 1, 2026
1960607
Update message to 'Hello, FastAPI!
sunil-singularityx Jan 1, 2026
88986ea
Update message to 'Hello, Perfectus!
sunil-singularityx Jan 1, 2026
2ad2612
Update greeting message
sunil-singularityx Jan 1, 2026
c7e81e8
Enhance message with creative content
sunil-singularityx Jan 1, 2026
7d1f710
Add test case
sunil-singularityx Jan 1, 2026
a1b759f
Add pandas library
sunil-singularityx Jan 1, 2026
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
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@app.get("/")
async def read_root():
return {"message": "Hello, FastAPI!"}
return {"message": "Greetings, cosmic voyager! Your journey through the APIverse begins now."}

if __name__ == "__main__":
import uvicorn
Expand Down
5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
fastapi
uvicorn
uvicorn
pytest
httpx
pandas
9 changes: 9 additions & 0 deletions test_main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from fastapi.testclient import TestClient
from main import app

client = TestClient(app)

def test_read_root():
response = client.get("/")
assert response.status_code == 200
assert response.json() == {"message": "Greetings, cosmic voyager! Your journey through the APIverse begins now."}