Skip to content

SarathiPrabu/EShopMicroservices

Repository files navigation

EShop Microservices

A .NET-based e-commerce system built using a microservices architecture.
This project focuses on clean service boundaries, CQRS, and running distributed systems with Docker.

Architecture

BuildingBlocks

Shared infrastructure for CQRS, MediatR pipeline behaviors, validation, logging, and exception handling.

Services

  • Catalog.API
    Product catalog management
    PostgreSQL + Marten

  • Basket.API
    Shopping basket service
    PostgreSQL + Redis
    Communicates with the Discount service via gRPC

  • Discount.Grpc
    Discount calculation service
    SQLite + EF Core

  • API Gateway
    YARP-based gateway acting as a single entry point


Run with Docker

git clone https://github.com/SarathiPrabu/EShopMicroservices.git
cd EShopMicroservices/src

docker compose -p eshop up --build -d

Service Ports


Database Reset (if needed)

Note: This will remove existing SQLite data for the Discount service.

docker compose down
docker volume rm src_sqlite_discount
docker compose up --build

Stop Services

docker compose down

About

EShopMicroservices is an ecommerce platform built using a microservices architecture in .NET. It demonstrates mastery of advanced .NET Core concepts, domain-driven design, and practical application of software design patterns.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors