All Projects → NHadi → Pos

NHadi / Pos

Sample Application DDD, Reactive Microservices, CQRS Event Sourcing Powered by DERMAYON LIBRARY

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Pos

Event Sourcing Jambo
An Hexagonal Architecture with DDD + Aggregates + Event Sourcing using .NET Core, Kafka e MongoDB (Blog Engine)
Stars: ✭ 159 (-23.19%)
Mutual labels:  microservices, event-sourcing, event-driven, cqrs-es, kafka, cqrs, ddd-architecture
Pitstop
This repo contains a sample application based on a Garage Management System for Pitstop - a fictitious garage. The primary goal of this sample is to demonstrate several software-architecture concepts like: Microservices, CQRS, Event Sourcing, Domain Driven Design (DDD), Eventual Consistency.
Stars: ✭ 708 (+242.03%)
Mutual labels:  microservices, event-sourcing, event-driven, netcore, cqrs, microservices-architecture
Watermill
Building event-driven applications the easy way in Go.
Stars: ✭ 3,504 (+1592.75%)
Mutual labels:  reactive, event-sourcing, event-driven, kafka, cqrs
Dotnet New Caju
Learn Clean Architecture with .NET Core 3.0 🔥
Stars: ✭ 228 (+10.14%)
Mutual labels:  microservices, event-sourcing, event-driven, kafka, cqrs
Netcoremicroservicessample
Sample using micro services in .NET Core 3.1 Focusing on clean code
Stars: ✭ 403 (+94.69%)
Mutual labels:  microservices, event-sourcing, cqrs, microservices-architecture
Vertex
Vertex is a distributed, ultimately consistent, event traceable cross platform framework based on Orleans, which is used to build high-performance, high throughput, low latency, scalable distributed applications
Stars: ✭ 117 (-43.48%)
Mutual labels:  event-sourcing, event-driven, cqrs-es, cqrs
Neventlite
NEventLite - An extensible lightweight library for .NET that manages the Aggregate lifecycle in an Event Sourced system. Supports Event and Snapshot storage providers like EventStore/Redis or SQL Server. Built with dependency injection in mind and seamlessly integrates with AspNetCore.
Stars: ✭ 117 (-43.48%)
Mutual labels:  event-sourcing, event-driven, cqrs-es, netcore
Rails event store
A Ruby implementation of an Event Store based on Active Record
Stars: ✭ 947 (+357.49%)
Mutual labels:  event-sourcing, event-driven, cqrs-es, cqrs
Dotnetcore Microservices Poc
Very simplified insurance sales system made in a microservices architecture using .NET Core
Stars: ✭ 1,304 (+529.95%)
Mutual labels:  microservices, netcore, cqrs, microservices-architecture
Booster
Booster Cloud Framework
Stars: ✭ 136 (-34.3%)
Mutual labels:  event-sourcing, event-driven, cqrs-es, cqrs
Jdonframework
Domain-Driven-Design Pub/Sub Domain-Events framework
Stars: ✭ 978 (+372.46%)
Mutual labels:  microservices, reactive, cqrs, ddd-architecture
Ultimate Backend
Multi tenant SaaS starter kit with cqrs graphql microservice architecture, apollo federation, event source and authentication
Stars: ✭ 978 (+372.46%)
Mutual labels:  microservices, event-sourcing, cqrs, ddd-architecture
delta
DDD-centric event-sourcing library for the JVM
Stars: ✭ 15 (-92.75%)
Mutual labels:  reactive, cqrs, event-sourcing, cqrs-es
football-events
Event-Driven microservices with Kafka Streams
Stars: ✭ 57 (-72.46%)
Mutual labels:  cqrs, event-sourcing, event-driven, microservices-architecture
Akkatecture
a cqrs and event sourcing framework for dotnet core using akka.net
Stars: ✭ 414 (+100%)
Mutual labels:  microservices, event-sourcing, event-driven, cqrs
Dermayon
Dermayon is Library for supporting build large application,distributed application, scalable, microservices, cqrs, event sourcing, including generic ef repository pattern with unit of work, generic mongo repository pattern with unit of work, kafka, etc
Stars: ✭ 66 (-68.12%)
Mutual labels:  event-sourcing, event-driven, ddd-architecture, cqrs-es
Event Sourcing Castanha
An Event Sourcing service template with DDD, TDD and SOLID. It has High Cohesion and Loose Coupling, it's a good start for your next Microservice application.
Stars: ✭ 68 (-67.15%)
Mutual labels:  event-sourcing, event-driven, kafka, cqrs
Digital Restaurant
DDD. Event sourcing. CQRS. REST. Modular. Microservices. Kotlin. Spring. Axon platform. Apache Kafka. RabbitMQ
Stars: ✭ 222 (+7.25%)
Mutual labels:  microservices, event-sourcing, kafka, cqrs
Practical Clean Ddd
A simplified and effortless approach to get started with Domain-driven Design, Clean Architecture, CQRS, and Microservices patterns
Stars: ✭ 28 (-86.47%)
Mutual labels:  microservices, cqrs, microservices-architecture, ddd-architecture
Asombroso Ddd
Una lista cuidadosamente curada de recursos sobre Domain Driven Design, Eventos, Event Sourcing, Command Query Responsibility Segregation (CQRS).
Stars: ✭ 41 (-80.19%)
Mutual labels:  event-sourcing, event-driven, cqrs-es, cqrs

POS - DDD, Reactive Microservices, CQRS Event Sourcing Powered by DERMAYON LIBRARY

Sample Application DDD Reactive Microservices with CQRS & Event Sourcing with DERMAYON LIBRARY.

Architectures

Image of Architecture

Features

  1. Microservices
  2. CQRS (Command Query Responsibility Segregation)
  3. Event Sourcing
  4. Generic Repository
  5. UnitOfWork
  6. Domain Driven Design
  7. Api Gateway Ocelot
  8. Multiple Databases type [MongoDb, SqlServer, etc]
  9. Message Broker [Kafka]

Information

Image of DDD

  1. Domain Layer : Main of Application like Event, Repository, etc
  2. Infrastructure Layer : Databases, Files, etc
  3. Application Layer : WebApi, etc

Main Architecture

Image of mainarchitecture

Microservices - also known as the microservice architecture - is an architectural style that structures an application as a collection of services that are

  1. Highly maintainable and testable
  2. Loosely coupled
  3. Independently deployable
  4. Organized around business capabilities
  5. Owned by a small team

The microservice architecture enables the rapid, frequent and reliable delivery of large, complex applications. It also enables an organization to evolve its technology stack. reference

API Gateway

Image of gateway

The API Gateway encapsulates the internal system architecture and provides an API that is tailored to each client. It might have other responsibilities such as authentication, monitoring, load balancing, caching,

CQRS Event Sourcing

Image of cqrss

CQRS stands for Command Query Responsibility Segregation. It's a pattern that I first heard described by Greg Young. At its heart is the notion that you can use a different model to update information than the model you use to read information. For some situations, this separation can be valuable, but beware that for most systems CQRS adds risky complexity.

Benefits when to use CQRS Event Sourcing Image of cqrsmaterialized

imagine if the system is too complex and more than 1K user hit in server, how many related tables? and how long does it take to get data? with cqrs & event sourcing we can implement materialized views, or in other words denormalized tables into one data or flat

Reactive Services, Reactive Manifesto, and Microservices

Image of reactive

The Reactive Manifesto outlines qualities of Reactive Systems based on four principles: Responsive, Resilient, Elastic and Message Driven.

  1. Responsiveness means the service should respond in a timely manner.
  2. Resilience goes in line with responsiveness, the system should respond even in the face of failure.
  3. Elasticity works with resilience. The ability to spin up new services and for downstream and upstream services and clients to find the new instances is vital to both the resilience of the system as well as the elasticity of the system.
  4. Message Driven: Reactive Systems rely on asynchronous message passing. This established boundaries between services (in-proc and out of proc) which allows for loose coupling (publish/subscribe or async streams or async calls), isolation (one failure does not ripple through to upstream services and clients), and improved responsive error handling.

Get started

Clone the repository

Run and Build the app

cd Pos 
docker-compose up

wait for completed Image of step1

List Url:Port the app

docker container ls

Image of step2

For sample we can navigate to PRODUCT SERVICES ::localhost:32771/swagger

Image of step3

Running in GATEWAY

Navigate to postgateway for sample ::localhost:32768/[SERVICES]/[Action]

Image of step4

Sample Running in Gateway http://localhost:[PosGatewayPort]/api-product/productCategory/7a3fff4b-54ca-4c21-bf04-c11aea9b7673 Image of step5

List of Gateway Services

  1. Product Services = localhost[::]/api-product/[action]
  2. Customer Services = localhost[::]/api-customer/[action]
  3. Order Services = localhost[::]/api-order/[action]
  4. Report Services = localhost[::]/api-report/[action]

Check Healty All Services

Image of step6

Keep Updates, I'will update for new best practices of technology & software design, architectural

Thanks

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].