I am looking forward to build a gateway in GO that will perform two main tasks at broader level.
- Act as API server that will hide the microservices running in the backend.
- Render Frontend that is written in React.
Frontend will be a kind of Single Page App, which will have its webpages fillled dynamically with data retrieved from REST responses returned by the APIs exposed by gateway.
My question is it possible to render frontend written in React through GO server? Basically this server will be responding to REST requests as well render html pages created through React. If it possible, is there any project that can be referred to get the idea that how to render frontend written in React through GO server?