{"id":16778602,"url":"https://github.com/binary-husky/deploy-python-fastapi-in-vercel","last_synced_at":"2025-03-16T19:41:19.220Z","repository":{"id":170344056,"uuid":"646480444","full_name":"binary-husky/deploy-python-fastapi-in-vercel","owner":"binary-husky","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-28T15:03:57.000Z","size":9656,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T06:14:44.436Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://deploy-python-fastapi-in-vercel-six.vercel.app","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/binary-husky.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-05-28T14:36:49.000Z","updated_at":"2024-04-20T06:53:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"89841c0f-fbf2-4983-9477-a3998698e490","html_url":"https://github.com/binary-husky/deploy-python-fastapi-in-vercel","commit_stats":null,"previous_names":["binary-husky/deploy-python-fastapi-in-vercel"],"tags_count":0,"template":false,"template_full_name":"hebertcisco/deploy-python-fastapi-in-vercel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binary-husky%2Fdeploy-python-fastapi-in-vercel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binary-husky%2Fdeploy-python-fastapi-in-vercel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binary-husky%2Fdeploy-python-fastapi-in-vercel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binary-husky%2Fdeploy-python-fastapi-in-vercel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binary-husky","download_url":"https://codeload.github.com/binary-husky/deploy-python-fastapi-in-vercel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243922223,"owners_count":20369371,"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-10-13T07:28:10.645Z","updated_at":"2025-03-16T19:41:19.198Z","avatar_url":"https://github.com/binary-husky.png","language":"Python","funding_links":["https://www.buymeacoffee.com/hebertcisco","https://img.buymeacoffee.com/button-api/?text=Buy"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n \u003cimg width=\"100px\" src=\"https://raw.githubusercontent.com/hebertcisco/vercel-typescript-express-api/cebd0c563141a4cc7d279997b8cb5dd9232d7591/.github/images/favicon512x512-vercel-typescript-express-api.png\" align=\"center\" alt=\":package: deploy-python-fastapi-in-vercel\" /\u003e\n \u003ch2 align=\"center\"\u003e:package: deploy-python-fastapi-in-vercel\u003c/h2\u003e\n \u003cp align=\"center\"\u003eThis example shows how to use FastApi  on Vercel with Serverless Functions using the Python Runtime.\u003c/p\u003e\n\u003c/p\u003e\n\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/hebertcisco/deploy-python-fastapi-in-vercel/issues\"\u003e\n      \u003cimg alt=\"Issues\" src=\"https://img.shields.io/github/issues/hebertcisco/deploy-python-fastapi-in-vercel?style=flat\u0026color=336791\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/hebertcisco/deploy-python-fastapi-in-vercel/pulls\"\u003e\n      \u003cimg alt=\"GitHub pull requests\" src=\"https://img.shields.io/github/issues-pr/hebertcisco/deploy-python-fastapi-in-vercel?style=flat\u0026color=336791\" /\u003e\n    \u003c/a\u003e\n    \u003cbr /\u003e\n  \u003ca href=\"https://github.com/hebertcisco/deploy-python-fastapi-in-vercel/issues/new/choose\"\u003eReport Bug\u003c/a\u003e\n  \u003ca href=\"https://github.com/hebertcisco/deploy-python-fastapi-in-vercel/issues/new/choose\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n  \u003ch3 align=\"center\"\u003eSystems on which it has been tested.\u003c/h3\u003e\n \u003cp align=\"center\"\u003e\n  \u003ca href=\"https://ubuntu.com/download\"\u003e\n      \u003cimg alt=\"Ubuntu\" src=\"https://img.shields.io/badge/Ubuntu-E95420?style=flat\u0026logo=ubuntu\u0026logoColor=white\" /\u003e\n    \u003c/a\u003e\n  \u003ca href=\"https://www.microsoft.com/pt-br/software-download/windows10\"\u003e\n      \u003cimg alt=\"Windows\" src=\"https://img.shields.io/badge/Windows-0078D6?style=flat\u0026logo=windows\u0026logoColor=white\" /\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n\u003cp align=\"center\"\u003eDid you like the project? Please, considerate \u003ca href=\"https://www.buymeacoffee.com/hebertcisco\"\u003ea donation\u003c/a\u003e to help improve!\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cstrong\u003e\u003c/strong\u003e✨\u003c/p\u003e\n\n# Getting started\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fhebertcisco%2Fdeploy-python-fastapi-in-vercel%2Ftree%2Fmain%2Fpython%2FFastApi\u0026demo-title=FastApi%20%2B%20Vercel\u0026demo-description=Use%20FastApi%202%20on%20Vercel%20with%20Serverless%20Functions%20using%20the%20Python%20Runtime.\u0026demo-url=https%3A%2F%2FFastApi-python-template.vercel.app%2F\u0026demo-image=https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png)\n\n# FastApi + Vercel\n\nThis example shows how to use FastApi 0.88.0 on Vercel with Serverless Functions using the [Python Runtime](https://vercel.com/docs/concepts/functions/serverless-functions/runtimes/python).\n\n[![Python testing](https://github.com/hebertcisco/deploy-python-fastapi-in-vercel/actions/workflows/python-app.yml/badge.svg?branch=main)](https://github.com/hebertcisco/deploy-python-fastapi-in-vercel/actions/workflows/python-app.yml)\n[![Docker Image CI](https://github.com/hebertcisco/deploy-python-fastapi-in-vercel/actions/workflows/docker-image.yml/badge.svg)](https://github.com/hebertcisco/deploy-python-fastapi-in-vercel/actions/workflows/docker-image.yml)\n\n## Demo\n\n[deploy-python-fastapi-in-vercel.vercel.app](https://deploy-python-fastapi-in-vercel.vercel.app)\n\n## How it Works\n\nThis example uses the Web Server Gateway Interface (WSGI) with FastApi to enable handling requests on Vercel with Serverless Functions.\n\n## Running Locally\n\n### With Docker\n```bash\n# Build the Docker image\ndocker build -t deploy-python-fastapi-in-vercel .\n\n# Run the Docker container\ndocker run -p 8000:8000 deploy-python-fastapi-in-vercel\n\n```\n\n### With uvicorn\n\n#### Install dependencies\n\n```bash\npip install -r requirements.txt\n```\n```bash\nuvicorn main:app --host 0.0.0.0 --port 8000\n```\n\nYour FastApi application is now available at `http://localhost:8000`.\n\n## One-Click Deploy\n\nDeploy the example using [Vercel](https://vercel.com?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=vercel-examples):\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fhebertcisco%2Fdeploy-python-fastapi-in-vercel%2Ftree%2Fmain%2Fpython%2FFastApi\u0026demo-title=FastApi%20%2B%20Vercel\u0026demo-description=Use%20FastApi%202%20on%20Vercel%20with%20Serverless%20Functions%20using%20the%20Python%20Runtime.\u0026demo-url=https%3A%2F%2FFastApi-python-template.vercel.app%2F\u0026demo-image=https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png)\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\u003cbr /\u003eFeel free to check [issues page](issues).\n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n\nOr buy me a coffee 🙌🏾\n\n\u003ca href=\"https://www.buymeacoffee.com/hebertcisco\"\u003e\n    \u003cimg src=\"https://img.buymeacoffee.com/button-api/?text=Buy me a coffee\u0026emoji=\u0026slug=hebertcisco\u0026button_colour=FFDD00\u0026font_colour=000000\u0026font_family=Inter\u0026outline_colour=000000\u0026coffee_colour=ffffff\" /\u003e\n\u003c/a\u003e\n\n## 📝 License\n\nCopyright © 2023 [Hebert F Barros](https://github.com/hebertcisco).\u003cbr /\u003e\nThis project is [MIT](LICENSE) licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinary-husky%2Fdeploy-python-fastapi-in-vercel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinary-husky%2Fdeploy-python-fastapi-in-vercel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinary-husky%2Fdeploy-python-fastapi-in-vercel/lists"}