Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.12 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.12 KB

Template: node-tempo-server

Deploy on Railway

This template demonstrates using the Tempo remote procedure call framework to add real-time, end-to-end typesafe APIs with a Node.js HTTP server.

index.ts is the content of the server script.

Code generation is handled by Bebop and you can find an example schema in greeter.bop.

The service is implemented in greeter.ts.

Setup

To create a my-project directory using this template, run:

$ git clone  https://github.com/betwixt-labs/template-worker-tempo.git my-project

If you wish to generate code from your schemas run:

$ npm run build:schemas
# or
$ yarn build:schemas
# or
$ pnpm run build:schemas