Stack choice
Hello,
I am currently using Next.js, React, Typescript and Axios for my frontend stack and Nest.js, Typescript, Swagger (OpenAPI) and Prisma for backend stack.
This way, I can generate the types based on the manual made classes (DTO etc.) that Swagger recognises. However, it is a bit of a mess to generate the types.
I am building a platform where people can find businesses to let them do home services. I was wondering if tRPC would be useful in this case?
Let's say that in the future, I wanted to publish an API where businesses could fetch stuff, would it be easy to do this with tRPC?
Are there also other things to consider when removing an external backend and use the backend of Next.js?
Also for hosting, must I use Vercel or can I also freely choose one my own? Will using the backend of Next.js have performance drawbacks compared to an external one?
0 Replies