Coder Social home page Coder Social logo

mobamoh / foodie Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 11.58 MB

Foodie is a demonstration of various concepts in modern cloud software development including Microservices, Clean Architecture, DDD, SAGA, Outbox and CQRS. ๐Ÿ”โ˜๏ธ

Java 98.50% PLpgSQL 1.08% Shell 0.41%
cqrs-pattern ddd-patterns event-sourcing hexagonal-architecture java kafka outbox-pattern saga-pattern

foodie's Introduction

Foodie Project

This project, named "Foodie", is a demonstration of various concepts in software development, including Microservices with Spring Boot, Clean Architecture, Domain-Driven Design (DDD), SAGA, Outbox, Kafka, and Maven multi-module.

Overview

Foodie is a system that aims to provide a platform for food lovers to explore, discover, and order food. It consists of multiple microservices, each responsible for a specific aspect of the overall system. The project follows the principles of Hexagonal Clean Architecture and Domain-Driven Design to ensure a modular, scalable, and maintainable codebase.

High Level Architecture

HLA

Concepts Used

  • Hexagonal Clean Architecture with Ports & Adapters.
  • DDD (Domain-Driven Design)
  • SAGA Pattern for distributed transaction and data consistency (process & rollback with compensating tx)
  • Outbox Pattern for pulling Outbox table with scheduler (Saga Status)
    • Ensure idempotency using outbox in each service.
    • Prevent concurrency issues with optimistic locks & DB constraints.
    • Updating Saga & Order status for each operation.
  • CQRS Pattern with Event Sourcing.
  • Maven Multi-Module
  • Kafka
  • Kubernetes

foodie's People

Contributors

mobamoh avatar

Stargazers

oumayma avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.