I’m developing a single page web app which I’ve been running locally using a simple ring app to serve the initial page and route API requests from the front end.
I’m intending to use Datomic Cloud and Ions for production. I can see it’s straightforward enough to set up lambdas for the API endpoints, but I’m wondering if there is a recommended approach for serving the app in the first place, and for handling sessions.
As things stand I’m using cookie based sessions, and I have a bunch of additional routes for sign-in/out, forgot password etc.
Is there a recommended way to deploy this? It would be great if I don’t need any additional Clojure-capable hosting in addition to Ions. Maybe that would mean reorganising into more of a strict SPA, with only static HTML+JS (cljs) and something like JWT for auth?