:package: deploy-python-fastapi-in-vercel
This example shows how to use FastApi on Vercel with Serverless Functions using the Python Runtime.
Issues
GitHub pull requests
Report Bug
Request Feature
Did you like the project? Please, considerate a donation to help improve!
β¨
This example shows how to use FastApi 0.88.0 on Vercel with Serverless Functions using the Python Runtime.
Python testing Docker Image CI
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 image docker build -t deploy-python-fastapi-in-vercel . # Run the Docker container docker 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 at http://localhost:8000
.
Deploy the example using Vercel:
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a βοΈ if this project helped you!
Or buy me a coffee ππΎ
Copyright Β© 2024 Hebert F Barros.
This project is MIT licensed.