Skip to content

(Work in Progress) Example of an event driven loosely coupled monolith. Which uses asynchronous messaging to decouple bounded contexts and has behaviour driven api as opposed to CRUD style api thus achieving better code and design quality.

Notifications You must be signed in to change notification settings

TbotaPhantA/event-driven-loosely-coupled-monolith

Repository files navigation

Run app locally:

cd apps/backend
  • 🧐make sure you have .env file in the apps/backend folder with proper environment variables
  • 🚢make sure you have docker and docker-compose
  • 🛫launch app infrastructure using the following command (it will use docker-compose to launch db, kafka, debezium, etc...):
npm run launch:infrastructure
  • 😊start application using
npm run start:dev

Launch acceptance tests locally:

cd apps/backend
  • 🧐make sure you have .env.test.local file in the apps/backend folder with proper environment variables
  • 🚢make sure you have docker and docker-compose
  • 🛫launch app infrastructure using the following command (it will use docker-compose to launch db, kafka, debezium, etc...):
npm run launch:infrastructure:test
  • 😊run tests with
npm run test:acceptance

About

(Work in Progress) Example of an event driven loosely coupled monolith. Which uses asynchronous messaging to decouple bounded contexts and has behaviour driven api as opposed to CRUD style api thus achieving better code and design quality.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages