How do I create a React/Node full-stack project with tRPC?
Hello,
I would like to build a website using React and Node and tRPC.
What I first assumed is I need to scaffold a react app using Vite in a folder called
client
, write my server code in a folder called server
.
Is this is a common project structure or not? If yes how do I install new npm packages? Should I install them in the parent package.json and ignore the client
one or what?
EDIT: I don't want to use a monorepo.
I really appreciate any help, I have nowhere else to ask. Thanks.2 Replies
You can use Create-T3-app to create already configured app. If NextJS if not framework of your choise, you can use this setup as example.
yeah I don't want to use Next.js, sorry what did you mean with
this
setup?