zackautocracy

First-class NestJS integration for Restate durable execution engine

12
0
100% credibility
Found Mar 04, 2026 at 12 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

nestjs-restate provides a seamless NestJS integration for Restate, enabling developers to build durable, crash-resilient services, stateful objects, and long-running workflows using familiar decorators and dependency injection.

How It Works

1
🕵️ Discover the tool

You hear about nestjs-restate while building a web app that needs to handle payments or orders without losing work if it crashes.

2
📦 Add it to your project

You easily include this helpful integration into your existing NestJS app with a simple addition.

3
🔗 Connect the reliability engine

You point it to a nearby running service that keeps track of all your app's actions safely.

4
Mark your key actions as reliable

You add friendly labels to your payment, notification, or shopping cart functions so they become crash-proof.

5
💬 Link functions together

You connect your reliable functions to work with each other or your regular app parts using simple helpers.

6
▶️ Launch your app

You start your app, and it automatically sets everything up and begins handling requests reliably.

🎉 Reliable app achieved

Now your app survives crashes, retries safely, and never loses half-done work like payments or emails.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 12 to 12 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is nestjs-restate?

nestjs-restate is a TypeScript library providing first-class NestJS integration for Restate, a durable execution engine. It turns regular NestJS services into crash-proof handlers that survive nestjs restarts, automatically retrying from the exact point of failure without losing partial work like payments or notifications. Developers get decorators for services, stateful virtual objects, and long-running workflows, plus full dependency injection and typed clients to call them durably.

Why is it gaining traction?

It eliminates manual idempotency keys, state machines, or databases for durable flows—Restate journals side effects and replays them on recovery. Auto-discovery registers components without boilerplate, and typed proxies enable safe service-to-service calls from handlers or REST endpoints. Replay-aware logging keeps console output clean during retries, matching NestJS style.

Who should use this?

NestJS backend developers handling unreliable side effects: payment processors, notification senders, or e-commerce carts needing consistent state across crashes. Teams building user onboarding workflows or order fulfillment that wait for external events like confirmations. Anyone tired of orphaned transactions after nestjs restarts in production.

Verdict

Early project with 12 stars and 1.0% credibility score signals low adoption but solid docs, tests, and examples make it approachable for pioneers. Try it if you need durable execution now; otherwise, watch for maturity as Restate ecosystem grows.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.