All templates
Deploy to Cosmoner
Deploy FastAPI
A Python JSON API on FastAPI, with a health check and interactive API docs.
- Web service
1. Copy the template to your GitHub
GitHub opens in a new tab and creates a repository from the template on your own account. Public or private both work.
You can keep the suggested name,
cosmoner-template-fastapi. The deploy step searches for it.2. Deploy it
Choose a project, connect GitHub if you have not yet, and pick your copy. The repository search is already filled in.
When the wizard offers Fill in from file, use it: the template describes its own build and start commands.
Deploy to CosmonerNew to Cosmoner? Create an account