Ventyd Logo

Introduction

A TypeScript-first event sourcing library built for modern web applications

Welcome to Ventyd

Ventyd is a TypeScript-first event sourcing library that makes it easy to build applications where every state change is captured as an immutable event.

Why Ventyd?

Traditional applications only store the current state of your data. Ventyd takes a different approach - it stores all the events that led to the current state, giving you superpowers like complete audit trails, time travel debugging, and event replay.

How It Works

Ventyd follows a simple pattern:

  1. Define your schema - Describe your events and state using a validation library
  2. Create a reducer - Define how events transform your state
  3. Build your entity - Add business logic as methods
  4. Set up storage - Connect to your database with an adapter
  5. Use it! - Create, update, and query your entities

Documentation

Community & Support

Ready to Get Started?

Jump into the Quick Start guide and build your first event-sourced entity!

On this page