4 ms·
So I guess SSR is back on the menu? I wonder what the workflow is like. If one wants to go Go+HTMX route, how does one write a webapp with handling auth and se
by ducktective 3y ago
So I guess SSR is back on the menu? I wonder what the workflow is like.
If one wants to go Go+HTMX route, how does one write a webapp with handling auth and sessions and everything? I assume the backend is not just an API?
It'd be nice if one points to an example repo developed with this method.
- markusw 3y agoI've got my own super simple service template that I use internally for this: https://github.com/maragudk/service https://github.com/maragudk/service . I don't think I've added HTMX here (because I add it when needed), but it has auth and is totally classic in its setup.
- avtolik 3y agoWell, just use cookies. It's simple as that. As markusw, I also don't use HTMX. I tried it, but for me it is faster to use the fetch API. My basic stack is go html templates, chi router and sqlite.
- cschep 3y agoYeah this seems like more of a majestic monolith approach.