This is a monorepo with a simple demo using tRPC for communication between react and express.
Enter in the server
folder install dependencies and run the server:
cd server
#
yarn install
#
yarn dev
Now, go to the client
folder install dependencies and run the server:
cd client
#
yarn install
#
yarn dev
Access the http://localhost:4000
Created using tRPC, React, Typescript and Express.
Tech | Description |
---|---|
ReactJS | Frontend library for the UI |
vite | Build tool to server/build/generate the frontend app |
Express | Web framework used to create the backend |
React query | Fetching, caching, synchronizing and updating server state |
zod | Schema validation |
See my other posts and projects: