Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

At an open source company I worked briefly, we used tRPC, and I was tasked with making the Enterprise API,

We went with a nextjs app, abstracted away our tRPC routers into a package and our monorepo, and used tRPC different routers both from our webapp and the API apps.

This works great!

You end up not repeating your logic all over the place, and make thin wrappers on your nextjs api endpoints or whatever to handle the differences between implementations



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: