this example uses Opine for HTTP requests. it's a Deno port of Express. it works with tRPC's Express adapters without any problems.
Running server in terminal: deno run --allow-env --allow-read --allow-net server.ts
Running client in terminal: deno run --allow-net client.ts
Example using: [email protected], @trpc/[email protected], & @trpc/[email protected] running on [email protected]
Remember to install the Deno extension for VS Code and enable it to avoid a flood of errors