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 🔖
https://t.co/IcKUZA4g8I
Here's the Rive source file and the code behind it.
The Rive file is available on the @rive_app Rive Marketplace, and I'll also share the code below.
Apologies in advance for the messy file structure and naming conventions.
At some point I stopped naming things properly and chose chaos instead.