A minimal FastAPI server with two JSON endpoints, built as part of the FlyRank Backend AI Engineering internship (Week 1 assignment).
GET /— returns a welcome messageGET /status— returns server status and current UTC time
pip install fastapi uvicorn
uvicorn main:app --reloadThen visit:
- http://127.0.0.1:8000/
- http://127.0.0.1:8000/status
- http://127.0.0.1:8000/docs (interactive API docs)
curl http://127.0.0.1:8000/
curl http://127.0.0.1:8000/status