Skip to content

A CQRS App made with nestjs that communicates over kafka

Notifications You must be signed in to change notification settings

cingaldi/nest-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

This is a PoC to learn how to put in work nestjs and a Kafka cluster to achieve a CQRS/ES architecture that fits well with IoT use cases.

NestJS is the new enterprise app framework for Node.js ecosystems. It has many nice features such as dependency injection out of the box and a library for CQRS microservices

kafka is the popular messaging integrations platform that comes straight out from Linkedin. Confluent is the main project contributor as well as the company that provided me the docker-compose image that i'll use through this project

Run

init -> cd /app && npm i (it will take some time to compile kafka client) execute tests -> cd /app && npm run test start http server -> cd /app && npm start start everything -> chmod +x run.sh && ./run.sh

About

A CQRS App made with nestjs that communicates over kafka

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published