Node.js

Minimal Node.js example demonstrating basic actor state management.

Features

  • Node.js runtime: Run Rivet Actors on standard Node.js runtime
  • Type-safe actions: Define and call actor actions with full TypeScript type safety
  • Persistent state: Actor state automatically persisted and restored
  • Simple setup: Minimal configuration to get started with RivetKit

Implementation

This example demonstrates minimal Node.js setup with Rivet Actors:

Resources

Read more about actions, state, and setup.