BlackspaceInc / typescript-microservices-template

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:TypeScript 96.9%Language:JavaScript 2.8%Language:HTML 0.3%