Skip to content

Latest commit

 

History

History

README.md

🚀 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