Serving SPAs from Starlette
I’m using Starlette for a pet project because it’s a modern Python framework that has GraphQL support. I had trouble integrating it with a Single Page App, but I found an easy fix. My client-side app gets built in the build/ directory, so just adding StaticFiles gets you off the ground: The History API makes…
Read More Serving SPAs from Starlette