Issue Summary
I’m building a full-stack AI PPT Generator application using FastAPI and Next.js. I followed the structure and setup from this Vercel template. However, in my own project (GitHub Repo), the FastAPI backend is not being deployed properly, even though the Next.js frontend deploys successfully.
Current Behavior
The FastAPI server fails to deploy.
When deployed, trying to hit FastAPI routes results in a 404 error (Page not found).
Expected Behavior
The FastAPI server should be deployed and running as expected alongside the Next.js frontend.
Steps to Reproduce
Set up a FastAPI backend (served via /api or similar route) and run it locally—it works as expected.
Build and deploy the app following the template instructions.
Observe that only the Next.js frontend is served; FastAPI endpoints are unreachable and return a 404.
Additional Notes
I’ve followed all instructions in the original template.
I also looked through other related blog posts and issues, but none of the suggested solutions worked.
My codebase and configuration are available here for review.
I checked your repo out and everything looks great except your FastAPI directory is inside /app instead of at the root of the project, so Vercel isn’t seeing it
On a successful deploy you should see the python function listed below your build logs like this