Live data from Hacker News

Pocketbase: Open-source back end in one file

pocketbase.io

51–60 of 151 posts

Re: Pocketbase: Open-source back end in one file

#51
post #45
post #29

Earlier quoted context omitted.

It's like saying nginx is better than superbase/firebase. Apples to oranges. You could replicate PocketBase in Readbean, but you would have to implement from scratch: - resources with CRUD API and real time subscriptions - admin UI - authz & authn system

I didn't say it's better. Why are people always misinterperting what they read (it's like you've never had text interpretation classes at school, or logic lessons to undestand how to infer implications from logical statements correctly)? Please read again: I said it's vastly simpler (which may not be better for you!) and lighter (just measure it). The comparison is apt for me because the description "open-source back…

Your initial comment presents Redbean as a comparable solution, which it's not; they serve very different use cases.

Redbean requires you to write server code; Pocketbase does not. Redbean does not offer a realtime database, authentication, an admin dashboard, integrated file storage, or an inbuilt API.

I like Redbean, but it's in a completely different "market sector". It's like comparing a kit car to a luxury car: yes, they both technically serve the same purpose, but one requires much less assembly and offers a much more usable experience out of the box.

Re: Pocketbase: Open-source back end in one file

#52
post #29
post #9

It seems to me that redbean is a much simpler, vastly lighter one-file web server + sqlite DB: https://redbean.dev/ As a bonus, the same file runs on basically any OS without any dependencies on the local system, not even libc.

It's like saying nginx is better than superbase/firebase. Apples to oranges. You could replicate PocketBase in Readbean, but you would have to implement from scratch: - resources with CRUD API and real time subscriptions - admin UI - authz & authn system

Fruits can be compared

Re: Pocketbase: Open-source back end in one file

#53
post #31

I've been using Pocketbase in production for a few months now, with alpinejs on the front end. The development philosophy is on point. It's genuinely pleasant, pragmatic software which serves a real purpose and it improves weekly without feature creep. I watch the discussions and issues slowly getting more tiresome as it becomes more mainstream and worry that he'll burn out trying to keep up with the level of support…

What other technologies in the stack you have?

Re: Pocketbase: Open-source back end in one file

#55

Very cool, but this is a security anti-pattern. Having the auth, db and file server in the same service.. an attacker doesn't even need lateral traversal or privilege escalation once inside..

There’s something to be said about drastically reducing your threat surface too. Locking down 1 server is easier than locking down a fleet. You can still have security in depth inside your server.

Re: Pocketbase: Open-source back end in one file

#57

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 Supabas…

I 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.

Re: Pocketbase: Open-source back end in one file

#58

Earlier quoted context omitted.

I would say - htmx ( https://htmx.org/ ) - Alpine.js ( https://alpinejs.dev/ ) both are minimal and very easy to get started.

Been enjoying using PocketBase with Astro + htmx + Alpine

nice! I'm curious to know why would you need Alpine or Htmx if you have one of them in your app? I thought they are mutually exclusive.

Re: Pocketbase: Open-source back end in one file

#59
post #57

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 Supabas…

I 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.

Isn’t that how any Go project is put online?
Post reply on HN