I'm trying to build a small infrastructure piece around a web app that I have. The web app is basically a bunch of static files that talk to some backend. I don't have direct access to this backend except for RESTful API.
My current setup is Node.js based. It is an HTTP server that serves static files under /public route and proxies everything else to a particular backend. The frontend doesn't need to know what the backend is, from the code perspective it talks to its own server. Additionally, websocket connection is proxied using the same approach.
What tools can I use to implement this in Swift? Any existing open source examples that cover this? Any de-facto solutions in the community that I can start working with?