Skip to content

Node Microservices Template using Driven Design Domain (DDD), CQRS and Event Sourcing

License

Notifications You must be signed in to change notification settings

BlackspaceInc/typescript-microservices-template

 
 

Repository files navigation

Node Microservices Template

Node Microservices Template using Driven Design Domain (DDD), CQRS and Event Sourcing

Architecture

Architecture diagrams

Explicit Architecture

Concentric Layers

Dependency Flow

Project structure

This project is structured by libraries and modules

├── .vscode                               # VSCode configuration to settings typescript version
│   └── settings.json                    
├── libs                                  # Folder that contains the libs for the microservices
│   ├── kernel                            # Shared Kernel (@micro/kernel)
│   ├── logger                            # Centralized library for logs both node js and browsers (@micro/logger)  
│   ├── server                            # Centralized library for create custom server using NestJS (@micro/server)  
│   └── utils                             # Library for validations, extensions, etc. (@micro/utils)  
├── microservices
│   ├── countries
│   │   ├── app
│   │   ├── config
│   │   ├── core
│   │   │   ├── application
│   │   │   │   ├── dtos
│   │   │   │   ├── transforms
│   │   │   │   └── use-cases
│   │   │   ├── domain
│   │   │   │   └── errors
│   │   │   ├── infraestructure
│   │   │   │   ├── database
│   │   │   │   ├── mappers
│   │   │   │   └── repositories
│   │   ├── interfaces
│   │   │   ├── console
│   │   │   │   ├── commands
│   │   │   │   └── app.js
│   │   │   ├── graphql
│   │   │   │   ├── core
│   │   │   │   ├── models
│   │   │   │   ├── modules
│   │   │   │   └── main.js
│   │   │   └── rest
│   │   │   │   ├── core
│   │   │   │   ├── modules
│   │   │   │   └── main.js
└── README.md

About

Node Microservices Template using Driven Design Domain (DDD), CQRS and Event Sourcing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.9%
  • JavaScript 2.8%
  • HTML 0.3%