DEV Community


Discussion on: How do you protect your backend API in your microservice if you use a Single Page Application on the frontend?

rhymes profile image

Why don't you just deploy the build of the SPA to the go server so it can serve it?

I'm not using Node as a server, just for development. I have a post build command that builds the static files so that the Python server can send them to the client.