{"id":19456859,"url":"https://github.com/porter-dev/fastapi-example","last_synced_at":"2025-04-25T05:31:07.049Z","repository":{"id":184320813,"uuid":"670784385","full_name":"porter-dev/fastapi-example","owner":"porter-dev","description":"This example repository provides a boilerplate FastAPI server with a Dockerfile that can be deployed to Porter with one-click.","archived":false,"fork":false,"pushed_at":"2024-01-10T02:00:45.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-20T17:54:51.991Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/porter-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-25T20:41:06.000Z","updated_at":"2024-05-28T15:21:04.000Z","dependencies_parsed_at":"2024-01-10T03:23:59.585Z","dependency_job_id":"a21804c9-f528-4a56-964c-992c72b36181","html_url":"https://github.com/porter-dev/fastapi-example","commit_stats":null,"previous_names":["porter-dev/fastapi-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porter-dev%2Ffastapi-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porter-dev%2Ffastapi-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porter-dev%2Ffastapi-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porter-dev%2Ffastapi-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/porter-dev","download_url":"https://codeload.github.com/porter-dev/fastapi-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250760698,"owners_count":21482851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T17:18:46.491Z","updated_at":"2025-04-25T05:31:06.768Z","avatar_url":"https://github.com/porter-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to Deploy\n\nFor a complete guide, check out our [docs](https://docs.porter.run/language-specific-guides/fastapi).\n\n## Create an account on Porter\n\nUnlike other PaaS options, Porter deploys your applications to your own AWS account. Before deploying a FastAPI application you must set up your infrastructure on AWS first.\n\nFirst, create an account on [Porter](https://dashboard.getporter.dev). Follow [this guide](https://docs.porter.run/standard/getting-started/deploy-overview) to create the necessary infrastructure on AWS.\n\n## Deploying from the dashboard\nOnce your infrastructure has been provisioned on AWS, you can start deploying your FastAPI application. Take a look here for a more [detailed guide](https://docs.porter.run/standard/getting-started/deploy-overview).\n\n1. Create a New Application on Porter.\n2. Select the Git repository you have forked from the example repo.\n3. Add a Web service to the application. There is no need to add a start command, because the `Dockerfile` in the example repository already has a command specified.\n4. Click Deploy.\n\nThat's it! You should be able to see your FastAPI server on a Porter URL that ends with `onporter.run`. Verify that the application has been deployed by going to the `/docs` page on your application, which will show the auto-generated docs as below:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fporter-dev%2Ffastapi-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fporter-dev%2Ffastapi-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fporter-dev%2Ffastapi-example/lists"}