Skip to content
Discussion options

You must be logged in to vote

Hello.

  1. Commit and push these files to GitHub.
  2. In Vercel dashboard, link the repo project.
  3. Vercel will detect the config, install dependencies, and deploy the serverless function.
  4. Open your deployed URL—e.g. https://.vercel.app/—and see your FastAPI app respond.

-If deployment still fails, ensure:
1. All three files (api/index.py, vercel.json, requirements.txt) are in the repo root and committed.
2. Your api/index.py really references app (FastAPI instance) or handler (Mangum handler).
-Vercel's Python support is “beta”: issues may persist. If you face unresolved errors, consider using a Docker-based custom deploy or moving to platforms like Render, Fly.io, or Railway

Good luck solunagit!

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@vladlenadev
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@vladlenadev
Comment options

Answer selected by vladlenadev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Ask and answer questions about GitHub features and usage Programming Help Discussions around programming languages, open source and software development
5 participants