Hacker News new | ask | show | jobs
by ryantmulligan 980 days ago
You can fork Replit's FastAPI template and edit it and deploy from the online editor https://replit.com/@replit/FastAPI?v=1

It uses uvicorn as recommended by the FastAPI docs.

1 comments

I switched[1] to Hypercorn[2] because Uvicorn currently supports HTTP/1.1[3] and WebSockets

[1] https://github.com/hbcondo/revenut-api/blob/main/Procfile

[2] https://github.com/pgjones/hypercorn

[3] https://www.uvicorn.org