Skip to main content

Introduction

Welcome to the MBC CQRS serverless framework documentation!

What is MBC CQRS serverless framework?

This framework provides core functionalities for implementing the Command Query Responsibility Segregation (CQRS) pattern within AWS serverless architectures, powered by the incredible NestJS framework. It simplifies the development of highly scalable and decoupled systems that can handle complex business logic and high-volume data processing.

Main features

featuresDescription
CQRS framework for AWS serverless- Structured approach for separating commands and queries.
- Integration with AWS services like Cognito, API Gateway, Lambda, DynamoDB, SNS, and SQS, StepFuction, RDS ⚡
Event-driven architecture- Leverages event sourcing and messaging for asynchronous communication
- Enables loose coupling and independent scaling of components
Command and query handlers- Provides abstractions for handling commands and queries
- Facilitates business logic implementation and data persistence
Asynchronous communication- Supports event publishing and message passing for inter-component communication
Data consistency and integrity- Ensures data consistency through event sourcing and optimistic locking
- Enforces data integrity with validation and constraints
Experience a harmonious symphony of CQRS and NestJS- Modular structure: Organize CQRS components with NestJS's elegant modularity.
Dependency injection: Simplify dependency management and embrace loose coupling with NestJS's DI system
- TypeScript support: Write type-safe, crystal-clear code with built-in TypeScript
- Testing and error handling: Build confidence with comprehensive testing and robust error handling, courtesy of NestJS
- Ecosystem compatibility: Tap into the vast NestJS universe of modules and libraries to expand possibilities
Local Development- Embrace agility: Experience rapid iteration and experimentation in a local environment, without the need for constant cloud deployment.
- Debugging bliss: Debug with ease using your favorite tools and techniques, gaining deeper insights into your application's behavior.
- Cost-effective exploration: Explore and refine your CQRS implementation locally, without incurring AWS costs during development.

How to Use These Docs

On the left side of the screen, you'll find the docs navbar. The pages of the docs are organized sequentially, you can follow them step-by-step when building your application. However, you can read them in any order or skip to the pages that apply to your case.

On the right side of the screen, you'll see a table of contents that makes it easier to navigate between sections of a page. If you need to quickly find a page, you can use the search bar at the top, or the search shortcut (Ctrl+K or Cmd+K).

To get started, checkout the Installation guide.