this post was submitted on 03 Oct 2025
658 points (98.8% liked)

Programmer Humor

27673 readers
489 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] x00z@lemmy.world 32 points 2 months ago (4 children)

This is still over engineered. Just connect directly to the database from the client instead of having an API endpoint.

[–] ICastFist@programming.dev 5 points 2 months ago

Too much overengineering there as well. Just copy the entire database into a google spreadsheet

[–] TrickDacy@lemmy.world 3 points 2 months ago

I thought that was the joke.

[–] Baizey@feddit.dk 2 points 2 months ago

Idk, let's just make a public google sheets and share the link

[–] Zos_Kia@lemmynsfw.com 1 points 2 months ago

Supabase unironically do exactly that. You've got your client, you login through OAuth, then use your JWT to connect directly to postgres.

Your JWT contains your user id, which is used with row level security rules to determine which rows you can and cannot access. It's pretty amazing what you can do with PG alone. The tooling is not quite there yet but that's probably where we're headed.