Hacker News new | ask | show | jobs
by hank-biteline 1653 days ago
Supabase (or similar) is going to change all of this very soon. I can't wait for open source technologies like postgrest and typescript RPC to mature. No more boilerplate HTTP code, no more boilerplate database endpoints. Need a backend function? Just define the interface, and boom you are writing backend code that you can call directly from your frontend. Really really exciting stuff is right around the corner IMO.
4 comments

feels like the js ecosystem has been in this state for 5 years
Yes. I was reading through wondering if someone was going to mention Supabase. Not a web developer by day. I do telecom stuff. I’ve been bouncing around trying different frameworks because I want to build a website, and once I found postgREST and then Supabase I loved it. Supabase has a a lot of components, but all specific and exactly what you might need.

I am documenting my process of building my first web app here: http://tbonesteaks.gitlab.io/blog/. Just started it today, so it’s rusty.

With Svelte too, nice
Remix.run has this figured out. Basically your backend is just a loader/hook that is colocated in the same js file. It would be great to have this idea in Rails view layer, for more complex UX cases.
Can you recommend resources about TypeScript RPC?