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: opine@2.3.3, @trpc/server@9.27.2, & @trpc/client@9.27.2 running on deno@v1.24.3
Remember to install the Deno extension for VS Code and enable it to avoid a flood of errors