irajwani / domain-driven-design

DDD, CQRS and Event Sourcing example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

Template repository: Domain Driven Design, CQRS, Event Sourcing, Mongo, more to come

Installation

$ git clone <this-repo>
$ npm install

Running the app

$ docker build -t template-service .
$ docker-compose up

Or

$ docker pull irajwani/template-service

Or

$ npm run dev
$ npm run test

and run a mongo container within docker on port 27017

Usage

Simply visit the swagger documentation to see all available endpoints and their required parameters

You can connect to the mongodb instance within a GUI for mongo with connection string 'mongodb://localhost:27017'

Standard User Story:

About

DDD, CQRS and Event Sourcing example


Languages

Language:TypeScript 96.9%Language:JavaScript 1.8%Language:Dockerfile 0.9%Language:Shell 0.5%