This project includes a simple tRPC server with one route and a testing file.
To get started, clone the repository and install the necessary dependencies by running:
git clone https://github.com/mateusabelli/trpc-jest
cd trpc-jest
pnpm install
/greeting
a route that takes in a JSON body parameter "text" and returns "Hello [text]"
The tests for the routes are located in the __tests__
directory.