Skip to content

samifouad/trpc-deno-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tRPC + Deno - simple hello world example

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

About

tRPC + Deno - simple hello world example

Topics

Resources

License

Stars

Watchers

Forks