Separation of frontend and backend
greg-szabo opened this issue · comments
Greg Szabo commented
For production use it would make a lot of sense to separate the backend and frontend functionality.
The frontend could be served by static web-hosting solutions, like S3+CloudFront which improves security and scalability. (And reduces maintenance costs.)
The backend in that case has to be an API service that serves the JavaScript calls but doesn't provide a web interface.
Currently the frontend can be uploaded (dist
folder), but it doesn't seem possible to redirect JS calls to a different server, nor to use the backend Go app as an API only.