Skip to content

restatedev/vercel-template

Repository files navigation

🚀 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! 🎉

About

Restate + Vercel template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published