Just another learning repo. Not much to see I'm afraid. A contrived and overly simplified example of using trpc in a tiny application. Pocketbase (built on top of SQLLite) is used as a database for simplicity, but since we have a nodejs backend providing the trpc server implementation, we won't be using much of the built-in pocketbase functionality.
Using the same tooling as used in the "minimal example" of trpc example.
I'm also going to add React Query, to see what contribution it can make to this trivial trpc stack.
As usual the code is written for me, on Linux and Mac environments. For Windows users, you'll need to figure out parts yourselves I'm afraid or use the Linux subsystem or similar.
- docker
- docker-compose
pnpm install
pnpm run db-start // requires docker-compose
pnpm run dev
This will run the client and the server.