Giter Club home page Giter Club logo

eshoppermicroservices's Introduction

Microservice Application with gRPC, EfCore, C# .NET, RabbitMQ, Repository Pattern, Clean Architecture, and API Gateway with Ocelot

Overview

This microservice application is built using C# with .NET, following the principles of clean architecture, and utilizing technologies such as gRPC for communication, Entity Framework Core (EfCore) for data access, RabbitMQ for messaging, and Ocelot for API gateway.

Technologies Used

  • C# .NET: The primary programming language used for building the microservices.
  • gRPC: A high-performance, open-source framework for building remote procedure call (RPC) APIs.
  • Entity Framework Core (EfCore): A lightweight, extensible, and cross-platform version of the popular Entity Framework data access technology.
  • RabbitMQ: A message broker that enables communication between microservices through messaging.
  • Repository Pattern: An architectural pattern that separates the logic that retrieves data from the underlying storage system (EfCore in this case).
  • Clean Architecture: A software design philosophy that separates the concerns of application into distinct layers to make the codebase more maintainable and testable.
  • API Gateway using Ocelot: A .NET API Gateway that acts as a reverse proxy for handling routing, authentication, and other cross-cutting concerns.

Microservices

  1. Basket.API: allows you users to add items to their basket, remover item and checkuot.

    • Technologies used: gRPC, EfCore, RabbitMQ, Mass Transit
  2. Ordering.API: Allows users to make order, get the order and pay

    • Technologies used: CQRS using Mediator, EfCore, RabbitMQ, Clean architecture
  3. Catalog.API

  4. Discount.API

  5. OcelotApiGw

Setup

  1. Clone the Repository:

    git clone https://github.com/selfmadecode/eshoppermicroservices.git
  2. Build and Run Microservices:

    • Follow the README instructions in each microservice directory for building and running.
  3. API Gateway Setup:

    • Navigate to the OcelotApiGw directory.
    • Follow the README instructions for setting up and configuring Ocelot.
  4. Database Migration:

    • Run EF Core migrations to initialize the databases for each microservice.

Contributing

Contributions are welcome! If you find any issues or have suggestions, please open an issue or submit a pull request.

License

This microservice application is open-source and available under the MIT License.

Happy coding!

eshoppermicroservices's People

Contributors

selfmadecode 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.