- Notifications
You must be signed in to change notification settings - Fork61
This example shows how to use FastApi on Vercel with Serverless Functions using the Python Runtime
License
hebertcisco/deploy-python-fastapi-in-vercel
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This example shows how to use FastApi on Vercel with Serverless Functions using the Python Runtime.
Did you like the project? Please, consideratea donation to help improve!
✨
This example shows how to use FastApi 0.88.0 on Vercel with Serverless Functions using thePython Runtime.
deploy-python-fastapi-in-vercel.vercel.app
This example uses the Web Server Gateway Interface (WSGI) with FastApi to enable handling requests on Vercel with Serverless Functions.
docker-compose up
# Build the Docker imagedocker build -t deploy-python-fastapi-in-vercel.# Run the Docker containerdocker run -p 8000:8000 deploy-python-fastapi-in-vercel
pip install -r requirements.txt
uvicorn main:app --host 0.0.0.0 --port 8000
Your FastApi application is now available athttp://localhost:8000
.
Deploy the example usingVercel:
Contributions, issues and feature requests are welcome!
Feel free to checkissues page.
Give a ⭐️ if this project helped you!
Or buy me a coffee 🙌🏾
Copyright © 2024Hebert F Barros.
This project isMIT licensed.
About
This example shows how to use FastApi on Vercel with Serverless Functions using the Python Runtime
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.