CQ

CQRSKit: A TypeScript CQRS Framework with Pluggable Database Adapters

Hacker News

CQRSKit: A TypeScript CQRS Framework with Pluggable Database Adapters

Over the past months, I've been building Genesis DB - an event-sourcing database engine designed around simplicity and and real-world usability. While working on it, I needed a clean, TypeScript-native CQRS framework that would let me model commands, events, and projections without being tied to a specific backend. That's how CQRSKit was born. CQRSKit is a lightweight TypeScript framework for CQRS (Command Query Responsibility Segregation) and Event Sourcing, built with modularity in mind. It ships with a minimal core and allows you to plug in your own database adapter whether that's Genesis DB, Postgres, MySQL, or a custom store. Highlights: - TypeScript-first design: Strong typing for commands, events, and handlers - Event Sourcing support: Append-only event streams and replay capability - Pluggable persistence layer: Bring your own adapter via a simple interface - Separation of concerns: Clean command and query boundaries - Lightweight by design: Zero magic, just predictable behavior npm install cqrskit Docs & examples: https://npmjs.com/package/cqrskit Infos about Genesis DB: https://www.genesisdb.io I'd love feedback from developers using CQRS or Event Sourcing in production: What do you think about a pluggable-adapter approach? Would you prefer stricter conventions or more flexibility in handler definitions? Thanks for reading!

Share card

Actual performance

2points
2comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: model, using · Missing: mac, agents, macos
82%82% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: para · Missing: supports, reddit linkedin, podcasting
61%61% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
59%59% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: month, para · Missing: mobile apps, ios, personal
37%37% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: interface · Missing: plus, platform, intuitive
34%34% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
21%21% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

St
Statically typed MongoDB framework for TypeScript52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Statically typed MongoDB framework for TypeScript

Hacker News2
Ga
Garph – fullstack GraphQL framework for TypeScript68%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Garph – fullstack GraphQL framework for TypeScript

Hacker News2
Ne
New GraphQL Framework for TypeScript65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

New GraphQL Framework for TypeScript

Hacker News6
No
NodeAkt – Zero-dependency distributed actor framework for TypeScript52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

NodeAkt – Zero-dependency distributed actor framework for TypeScript

Hacker News5
Re
Remult – a CRUD framework for full-stack TypeScript57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Remult – a CRUD framework for full-stack TypeScript

Hacker News130
An
An open-sourced TypeScript agent framework55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An open-sourced TypeScript agent framework

Hacker News3
Remult
Remult24%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A CRUD framework for full-stack TypeScript

Indie Hackers
A
A no-build fullstack SSR TypeScript web framework67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A no-build fullstack SSR TypeScript web framework

Hacker News75
tsdevstack
tsdevstack48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Infrastructure as Framework for TypeScript microservices

Indie Hackers1apis
I
I wrote a database engine in TypeScript60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I wrote a database engine in TypeScript

Hacker News6