Skip to content

Latest commit

ย 

History

History
73 lines (49 loc) ยท 2.98 KB

File metadata and controls

73 lines (49 loc) ยท 2.98 KB

๐Ÿš€ Restate + Vercel Template

Welcome to the Restate TypeScript + Vercel template! โœจ

๐Ÿ Getting Started

Prerequisites

  • ๐Ÿ“ฆ Node runtime installed
  • ๐Ÿ”ง npm or yarn package manager
  • ๐ŸŒ Vercel account (for deployment)

๐Ÿ› ๏ธ Local Development

Install dependencies:

npm install

Launch the local Restate server:

npx @restatedev/restate-server

Start Next.js locally:

npm run dev

Connect your local service to Restate:

npx @restatedev/restate dep add --use-http1.1 http://localhost:3000/restate

Iterate! ๐Ÿ”ง

๐Ÿš€ Deploy

๐Ÿ“ฆ On Restate Cloud

This template includes a GitHub Actions workflow setup for automated deployment. To set up:

Once the repo is set up, just push to the main branch, Vercel will deploy and promote the main branch, and the action configured in deploy.yml will automatically register the deployment to Restate.

๐Ÿ”ง Manual Deployment

You can also deploy manually by following the Restate + Vercel documentation.

๐ŸŽฎ Test Your Service

Once deployed, you can test your service using the Restate Playground.

๐ŸŽฏ Next Steps

Happy building! ๐ŸŽ‰

Using AI coding tools

If you use Claude Code or Codex, then the Restate plugin will automatically be installed. For Cursor, consult the skills repo README.

Plugin repo: https://github.com/restatedev/skills/tree/main