What is DeltaBase?
The serverless event store for TypeScript developers
A fully managed, serverless event store built on Cloudflare’s edge. TypeScript-native. Zero-config. Pay per event.
Event sourcing without the headache.
Why Developers Choose DeltaBase
Section titled “Why Developers Choose DeltaBase”Zero-Config Local Development
Section titled “Zero-Config Local Development”npx @delta-base/cli dev# Local event store + Studio UI running in secondsTypeScript-Native
Section titled “TypeScript-Native”Built for modern JavaScript. Full type safety. Great IntelliSense. Not ported from Java.
Edge-First
Section titled “Edge-First”Runs on Cloudflare’s global network. Low latency worldwide. Works with Vercel Edge, Cloudflare Workers, anywhere V8 runs.
Pay Per Event
Section titled “Pay Per Event”No servers to provision. No monthly minimums. You pay for events read, written, and stored. Nothing else.
When to Use It
Section titled “When to Use It”Great fit:
- Audit trails and compliance (financial, healthcare, legal)
- Time-travel debugging (“What happened last Tuesday?”)
- Complex workflows with rollbacks
- Real-time features and notifications
- Multi-tenant SaaS applications
Skip it when:
- Simple CRUD is enough (user profiles, settings)
- Data rarely changes (static configuration)
- Your team isn’t ready for event-driven thinking
We’re honest about this. Event sourcing is powerful, but it’s not always the right tool.
How It Works
Section titled “How It Works”Three concepts. That’s it.
- Commands - Intent to change (
money.deposit,order.place) - Events - What happened (
money.deposited,order.placed) - State - Current reality, calculated from events
// Business logic decides what events to produceconst events = decide(command, currentState);
// Store the factsawait eventStore.appendToStream(streamId, events);
// Rebuild state anytime by replaying eventsconst state = events.reduce(evolve, initialState);The Package Ecosystem
Section titled “The Package Ecosystem”@delta-base/server — Event store client for Node.js and serverless functions
import { DeltaBase } from '@delta-base/server';
const client = new DeltaBase({ apiKey: process.env.DELTABASE_API_KEY });const eventStore = client.getEventStore('my-app');@delta-base/cli — Local development and deployment
npx @delta-base/cli dev # Start local environment@delta-base/toolkit — Command handlers, projections, and patterns
import { handleCommandWithDecider } from '@delta-base/toolkit';What You Get
Section titled “What You Get”- Complete audit trails — Every change preserved forever
- Time-travel debugging — Reproduce any bug, any state, any moment
- Real-time subscriptions — WebSockets and webhooks built-in
- Global performance — Edge deployment, low latency everywhere
- Beautiful tooling — Studio UI for visualization and debugging
Start Building
Section titled “Start Building”Or jump straight to:
- Installation guide — Add to an existing project
- Event sourcing concepts — Understand the theory
- Banking tutorial — Build something real