this post was submitted on 03 Oct 2025
638 points (98.9% liked)

Programmer Humor

27466 readers
1996 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 29 points 1 month 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 1 month ago

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

[–] TrickDacy@lemmy.world 3 points 1 month ago

I thought that was the joke.

[–] Baizey@feddit.dk 2 points 1 month ago

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

[–] Zos_Kia@lemmynsfw.com 1 points 1 month 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.