All Projects → qas → Examples Nodejs Cqrs Es Swagger

qas / Examples Nodejs Cqrs Es Swagger

A Node.js CQRS and Event Sourcing Microservice Example Using Nest.js, Event Store, and Swagger

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Examples Nodejs Cqrs Es Swagger

Event Sourcing Jambo
An Hexagonal Architecture with DDD + Aggregates + Event Sourcing using .NET Core, Kafka e MongoDB (Blog Engine)
Stars: ✭ 159 (-54.31%)
Mutual labels:  microservice, cqrs-es, ddd
OpenSleigh
OpenSleigh is a Saga management library for .NET Core.
Stars: ✭ 198 (-43.1%)
Mutual labels:  ddd, cqrs-es
delta
DDD-centric event-sourcing library for the JVM
Stars: ✭ 15 (-95.69%)
Mutual labels:  ddd, cqrs-es
EvaEngine.js
A micro service development engine for node.js
Stars: ✭ 31 (-91.09%)
Mutual labels:  microservice, swagger
Nxplorerjs Microservice Starter
Node JS , Typescript , Express based reactive microservice starter project for REST and GraphQL APIs
Stars: ✭ 193 (-44.54%)
Mutual labels:  microservice, swagger
nota
"None Of The Above" - is going to be a secure online voting system, intended to give the electorate better choices. It always adds one additional choice to anything to be voted on: If more than 50% of voters choose "None of the Above", the election is considered null and void.
Stars: ✭ 17 (-95.11%)
Mutual labels:  ddd, cqrs-es
silky
The Silky framework is designed to help developers quickly build a microservice development framework through simple code and configuration under the .net platform.
Stars: ✭ 146 (-58.05%)
Mutual labels:  microservice, swagger
Helloabp
ABP vNext + vue-element-admin入门级项目实战
Stars: ✭ 153 (-56.03%)
Mutual labels:  microservice, ddd
Event Sourcing Cqrs Examples
Event Sourcing and CQRS in practice.
Stars: ✭ 265 (-23.85%)
Mutual labels:  cqrs-es, ddd
Jivejdon
Jivejdon is a Domain Driven Design appication with CQRS/ES/Clean/Hexagonal architecture
Stars: ✭ 287 (-17.53%)
Mutual labels:  cqrs-es, ddd
Hexagonal Architecture Acerola
An Hexagonal Architecture service template with DDD, CQRS, TDD and SOLID using .NET Core 2.0. All small features are testable and could be mocked. Adapters could be mocked or exchanged.
Stars: ✭ 293 (-15.8%)
Mutual labels:  microservice, ddd
Proteus
Lean, mean, and incredibly fast JVM framework for web and microservice development.
Stars: ✭ 178 (-48.85%)
Mutual labels:  microservice, swagger
Spring Cloud Consul Example
spring-cloud-consul-example is an example for microservices system
Stars: ✭ 175 (-49.71%)
Mutual labels:  microservice, swagger
Cart
No description or website provided.
Stars: ✭ 22 (-93.68%)
Mutual labels:  ddd, cqrs-es
Jimu
.netcore micro service framework
Stars: ✭ 315 (-9.48%)
Mutual labels:  microservice, swagger
game 01
Scalable MMORPG game server based on entity control
Stars: ✭ 19 (-94.54%)
Mutual labels:  microservice, ddd
Gemini
Model Driven REST framework to automatically generate CRUD APIs
Stars: ✭ 138 (-60.34%)
Mutual labels:  microservice, swagger
Go Micro Boilerplate
The boilerplate of the GoLang application with a clear microservices architecture.
Stars: ✭ 147 (-57.76%)
Mutual labels:  microservice, swagger
eshopzero
.Net Microservice Application
Stars: ✭ 27 (-92.24%)
Mutual labels:  microservice, ddd
Light 4j
A fast, lightweight and more productive microservices framework
Stars: ✭ 3,303 (+849.14%)
Mutual labels:  microservice, swagger

Logo

A Node.js CQRS/ES Swagger API Microservice Boilerplate

Description

This is an application boilerplate that demonstrates how to use Nest.js and Event Store to create a RESTful Users API microservice.

Please note that commands have been implemented and they do write into the Event Store, however, queries for denormalized views have some boilerplate but it is up to you to implement them using your favorite database technology of choice.

In case you don't feel like downloading dependencies locally, I've added support for Docker so follow those instructions in "Running the app" and you'll have everything up and running in less than 2 minutes.

Dependency Table

Name Version
EventStore latest
Node.js Dubnium
TypeScript 3
Docker Compose 3

Installation

$ yarn

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

# analyze production mode
$ yarn start:analyze

# using with Docker
$ ./scripts/up.sh # to start
$ ./scripts/down.sh # to stop

Relateds Links

Medium Article (Part 1): https://medium.com/@qasimsoomro/building-microservices-using-node-js-with-ddd-cqrs-and-event-sourcing-part-1-of-2-52e0dc3d81df

Medium Article (Part 2): https://medium.com/@qasimsoomro/building-microservices-using-node-js-with-ddd-cqrs-and-event-sourcing-part-2-of-2-9a5f6708e0f

Swagger Explorer URL: http://localhost:7070/api

Event Store URL: http://localhost:2113

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov

Release History

  • 0.1.0
    • The first proper release
    • CHANGE: Minimalist users app using Event Store
  • 0.0.1
    • Work in progress
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].