FastAPI can now serve your frontend app ✨
With support for client-side routing 😎
Great for React with TanStack Router, Astro static builds, Vite-based apps, etc. 🎉
FastAPI version 0.138.0 🔖
fastapi.tiangolo.com/tutorial/front…
@bugslife1919 Maybe with StaticFiles, losing client-side routing, or with some good amount of custom logic to get close to something like this, maybe with an additional external static file server like Nginx, handling separation of API and frontend by path in a termination proxy, or by domain.