4 ms·
Pocketbase is amazing! So far I had a great experience using it as a backend/database for the app I'm building where I'm using React with Vite for the frontend.
by rijavecb 3y ago
Pocketbase is amazing! So far I had a great experience using it as a backend/database for the app I'm building where I'm using React with Vite for the frontend. I'm using it mainly for auth and for keeping track of paid and free accounts. Some things that I found rather useful:
- It's super easy to host. I was initially thinking of using Appwrite or Supabase but found it a tricky to self-host them, especially Supabase. I could spin up Appwrite quickly via CapRover, but found it an overkill for what I needed.
- View collections [1] make it easy to return just a subset of the data that you need. In my case I'm using a view collection as a join for users and paid_users collections, where I just return their paid through date.
- The fact that you can extend it with Go or JS [2] should make it possible to completely skip having a backend, at least if your needs aren't very complex.
I definitely plan to continue using it for some smaller/side projects. Currently I'm thinking of trying to use it as CMS for an Astro blog and in the future as backend for some browser extensions.
[1] - https://pocketbase.io/docs/collections/#view-collection https://pocketbase.io/docs/collections/#view-collection
[2] - https://pocketbase.io/docs/use-as-framework/ https://pocketbase.io/docs/use-as-framework/
- Daynil 3y agoI feel like super easy to host needs to be re-emphasized. We're talking about dropping a single binary into your server and you're off to the races. If only more things were so simple.
- imnotreallynew 3y agoIsn’t that how any Go project is put online?
- paulgb 3y agoThe key distinction here seems to be that it uses an in-core database (SQLite), whereas a Go project may depend on an out-of-core database like Postgres, which would then also have to be deployed. For many projects (especially hobby projects where downtime is tolerable), the former is probably quite sufficient.
- tronikel 3y agoDidnt docker make this easy for all projects?
- pixelatedindex 3y agoIs that the same concept that Deno uses?