when to have an actual backend?
With the t3 stack we just deploy a single repo that contains both our "server" and "page".
At what point should one have a dedicated backend to handle requests?
4 Replies
- you want to do something that next.js/trpc cant do or isnt very good at
- you want a traditional REST api or gql
but next/trpc is an "actual backend"
its just node.js
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I think the only reason to pursue a dedicated backend is if it serves multiple clients, there're two different teams working on the backend and frontend (this only really matters in tRPC case since tRPC couples the two heavily), or if you need long lived connections and cannot use a third party provider
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View