News for hackers. Stuff that matters.
Re:Pocketbase – open-source realtime back end in 1 file by matt_callmann on Friday November 28, 2025 @02:40AM (#46076424)
I'll give it a try, but I'm not a fan of the SPA approach. Try using it with Templ and server-side rendering (SSR) instead of any JavaScript framework.

If anyone has already done this and can share their experience, I would love to hear about it!

Re:Pocketbase – open-source realtime back end in 1 file by jddj on Friday November 28, 2025 @03:06AM (#46076583)
I can speak to this.

It works, though if you need auth/authz you'll probably want to add some middleware to get a cookie flow working instead of the jwt approach PB uses by default.

If I remember right, essentially you set the cookie on login and on auth refresh and pull it out and into the auth header on all incoming requests.