Working on redesigning my SaaS template. It uses Dokploy to deploy the NodeJS app, and Pocketbase instance within the same server, so DB reads and writes are very fast. Also doesn't use the Pocketbase client library at all, all calls are wrapped in their own API routes and everything is server side rendered.
You might ask why use Pocketbase at all, and I'm not sure anymore. I suppose the dashboard is great, built in auth is great (although I've had to write cookie middleware to make it SSR anyway). I wish there was a lightweight Pocketbase/Supabase style "backend in a box" setup that didn't push the whole client library directly communicating to DB paradigm.
You might ask why use Pocketbase at all, and I'm not sure anymore. I suppose the dashboard is great, built in auth is great (although I've had to write cookie middleware to make it SSR anyway). I wish there was a lightweight Pocketbase/Supabase style "backend in a box" setup that didn't push the whole client library directly communicating to DB paradigm.