Deno Deploy
You can run your Restate services as serverless functions on Deno Deploy.
You can easily get started using the Deno+Restate template:
You can also add Restate into an existing Deno project. The SDK should be imported with the fetch
component eg
npm:@restatedev/restate-sdk@^1.4.0/fetch
and you would serve with Deno.serve({ port: 9080 }, handler.fetch)
.
You can deploy to Deno Run with deployctl deploy
, and register your deployed
service:
Local development is as simple as running your main.ts
and discovering the local
port: