{"id":17286593,"url":"https://github.com/louis70109/fastapi-cloud-run-sample","last_synced_at":"2025-07-13T11:40:39.043Z","repository":{"id":175195923,"uuid":"615981347","full_name":"louis70109/FastAPI-Cloud-Run-Sample","owner":"louis70109","description":"FastAPI example for deploying to GCP Cloud Run","archived":false,"fork":false,"pushed_at":"2024-05-15T18:09:49.000Z","size":13,"stargazers_count":13,"open_issues_count":0,"forks_count":22,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T11:38:32.865Z","etag":null,"topics":["fastapi","gcp","gcp-cloud-run","python"],"latest_commit_sha":null,"homepage":"https://nijialin.com/2023/03/19/gcp-why-need-cloudrun-as-serverless/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/louis70109.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-03-19T09:07:58.000Z","updated_at":"2024-12-05T13:04:34.000Z","dependencies_parsed_at":"2023-06-29T20:15:13.655Z","dependency_job_id":null,"html_url":"https://github.com/louis70109/FastAPI-Cloud-Run-Sample","commit_stats":null,"previous_names":["louis70109/fastapi-cloud-run-sample"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louis70109%2FFastAPI-Cloud-Run-Sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louis70109%2FFastAPI-Cloud-Run-Sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louis70109%2FFastAPI-Cloud-Run-Sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louis70109%2FFastAPI-Cloud-Run-Sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/louis70109","download_url":"https://codeload.github.com/louis70109/FastAPI-Cloud-Run-Sample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248867592,"owners_count":21174748,"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":["fastapi","gcp","gcp-cloud-run","python"],"created_at":"2024-10-15T09:59:41.174Z","updated_at":"2025-04-14T10:43:15.857Z","avatar_url":"https://github.com/louis70109.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastAPI 佈署到 Cloud Run 範例\n\n本範例展示了如何使用 Google Cloud Run 快速佈署 FastAPI 應用程式。這個範例將引導您完成以下步驟：\n\n- 使用 Dockerfile 建立一個 Docker 映像檔。\n- 使用 gcloud CLI 在 Cloud Run 上啟動映像檔與佈署。\n- 測試在 Cloud Run 上執行的 FastAPI 應用程式。\n\n## 前置要求\n\n在開始之前，您需要具備以下要求：\n\n- 一個 Google Cloud Platform 帳戶。\n- 安裝了 gcloud CLI 工具。\n- 已經安裝 Docker 在本地端環境中。\n\n## 使用方式\n\n[![Run on Google Cloud](https://deploy.cloud.run/button.svg)](https://deploy.cloud.run)\n\n\n```\ngit clone https://github.com/louis70109/FastAPI-Cloud-Run-Sample.git\n\ncd FastAPI-Cloud-Run-Sample/\n\ngcloud run deploy my-fastapi-example --source .\n```\n\n## 授權\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flouis70109%2Ffastapi-cloud-run-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flouis70109%2Ffastapi-cloud-run-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flouis70109%2Ffastapi-cloud-run-sample/lists"}