JS Framework The Unifies Frontend and Backend
I watched a video in the last couple of months where Theo talked about a framework where the frontend and backend were a unified codebase and requests were somewhat like functions. Maybe I'm not describing it the best, but does anyone know the video I'm remembering?
Solution:Jump to solution
Calling server functions from the frontend is called RPC. Some RPC frameworks:
- tRPC (https://trpc.io/)
- Gravity (https://gravity.digitak.dev).
...
9 Replies
next.js????
Oh I think you might be right, I've never used Next.JS but the way I'd stored it in my memory I assumed it was something more esoteric
There are now more frameworks like that, but Theo mentions Next.js most often.
did you even bother searching ? :/ https://create.t3.gg/
Solution
Calling server functions from the frontend is called RPC. Some RPC frameworks:
- tRPC (https://trpc.io/)
- Gravity (https://gravity.digitak.dev).
But you might be looking for Convex (https://www.convex.dev/), that does realtime subscription and hosting as well. They sponsored quite a number of Theo's videos.
Convex is amazingly easy to use, but it has very bad performances. Definitely an awesome choice for your personal projects.
Hey, chill. There is no need to be rude. Guy asked for help, and people happily responded, even though, the question might sound simple for long time viewers.
Don't think anything comes close to NextJS
@Aido you are probably looking at next.js with tRPC just like Gin answered
Ah yes, this is the bit that felt like it was still missing, thank you all!
I did try searching for around an hour, I didn't have the fullstack vocab to search for it 😛
In college I did one backend in C++ with Pistache (self-taught, they dumped a fullstack project on a bunch of C++ kids with no warning) and since then I've done one with raw Express which is the mess I'm looking to rewrite lol