Giter Club home page Giter Club logo

mehdihadeli / go-food-delivery-microservices Goto Github PK

View Code? Open in Web Editor NEW
761.0 14.0 75.0 3.96 MB

๐Ÿ• A practical food delivery microservices, built with golang, domain-driven design, cqrs, event sourcing, vertical slice architecture, event-driven architecture, and the latest technologies.

License: MIT License

Go 97.56% JavaScript 0.01% Shell 2.43%
clean-architecture cqrs event-driven-architecture golang microservices vertical-slice-architecture ddd grpc event-sourcing domain-driven-design

go-food-delivery-microservices's Introduction

Hi there, I'm Mehdi Hadeli ๐Ÿ‘‹

I'm a software engineer, specializing in backend development and distributed systems. I have extensive experience in designing and implementing resilient, responsive, scalable, and maintainable systems using C#, .NET, Golang on top of cutting-edge technologies. My interests include microservices, system design, software architecture, domain driven design (DDD), event sourcing, CQRS, DevOps. I love learning, sharing, and facing challenges. Last but not least, I am also an open-source enthusiast.

๐Ÿ›  Technologies & Skils

golang golang dotnet postgres mongodb kubernetes docker azure javascript kafka javascript typescript angular


๐Ÿ’ป Open Source Projects

I always make sure that I find enough time for open source contribution that also helps me expand my knowledge and work with other developers and team globally. here are some of my projects:

  • ๐Ÿ” food-delivery-microservices: A practical food delivery microservices, built with .Net 7, MassTransit, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
  • ๐Ÿ• go-food-delivery-microservices: A practical food delivery microservices, built with golang, domain-driven design, cqrs, event sourcing, vertical slice architecture, event-driven architecture, and the latest technologies.
  • ๐ŸŽฎ mehdihadeli/game-leaderboard-microservices: Implementation of a imaginary Game Leader Board application, based on Event Driven Architecture, Vertical Slice Architecture, Event Sourcing with EventStoreDB, Redis SortedSet and Pub/Sub, SignalR and .Net 8.
  • ๐Ÿš€ mehdihadeli/awesome-software-architecture: A curated list of awesome articles, videos, and other resources to learn and practice software architecture, patterns, and principles.
  • ๐Ÿ‰ mehdihadeli/vertical-slice-api-template: An asp.net core template based on .Net 8, Vertical Slice Architecture, CQRS, Minimal APIs, API Versioning and Swagger.
  • ๐Ÿšƒ mehdihadeli/Go-MediatR: A library for handling mediator pattern and simplified CQRS pattern within an event driven architecture. inspired by csharp MediatR library.
  • โšก FastEndpoints/FastEndpoints - Contributer: A light-weight REST API development framework for ASP.Net 6 and newer.
  • ๐Ÿ“™ davidfowl/TodoApi - Contributer: Todo application with ASP.NET Core Blazor WASM, Minimal APIs and Authentication
  • ๐ŸŒญ mehdihadeli/food-delivery-modular-monolith: A practical food delivery modular monolith, built with .Net 7, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
  • ๐Ÿงช mehdihadeli/tdd-sample: A sample project demonstrating Test-Driven Development (TDD) using .Net 8 and Vertical Slice Architecture based on Minimal APIs in .NET Core
  • ๐Ÿฅท mehdihadeli/go-vertical-slice-template: A Golang boilerplate template, based on Vertical Slice Architecture and CQRS pattern with using Echo, Gorm, Zap, Viper, MediatR for CQRS and sarulabs/di for Dependency Injection.
  • ๐ŸŽฌ mehdihadeli/movie-search-application: A simple movie search app, built with .Net 7, Vertical Slice Architecture and using TMDB APIs and YouTube APIs for searching and details of the movies.

๐Ÿš€ Activities

go-food-delivery-microservices's People

Contributors

alan-mq avatar eltociear avatar mehdihadeli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-food-delivery-microservices's Issues

How do i manage coupling between handlers?

There is a thought come to my mind when i came across your project. That is what if there is a case in which we have coupling between handlers. For instance, before i create a product named "Foo", i have to check whether if a product named "Foo" already existed, so in this case, i come up with the following approach: I think i will call another handler such as get_product_by_name to get me through this. I assume get_product_by_name as a feature. So this approach leads to couple between handlers. So my question is how do we manage this kind of coupling?
Btw, your project is really great, it is really a helpful resource for people like me who like to learn about microservice architecture.

Thanks.

Refactoring error handling

Using dockercontainer for integration test

Question: Introduce Service

Hi,
Thank you so much for sharing this repo. I learn a lot and really like the way you organize the code.
I have two questions:

  1. What if CreateOrder (/command/create_order_handler.go) requires aggregate action for calculating discount from third party services, or creating booking stock. Should we introduce a coordinator service on top of the command or we just execute them inside command?
  2. What about the data model, should we create one for the service or we just use domain model directly?

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.