/trpc-app

Monorepo with back and front using tRPC to communication

Primary LanguageTypeScript

tRPC Exame with React and Express

This is a monorepo with a simple demo using tRPC for communication between react and express.

How to run

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

About

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

More

See my other posts and projects: