Skip to content

ayaatef11/Ecommerce-Microservices

Repository files navigation

Modern E-Commerce Platform

A cloud-ready, modular, microservices-based e-commerce system built with ASP.NET Core, leveraging clean architecture, secure payment integration, and scalable communication.

csharp dotnet microservices jwt azure stripe api-gateway mvc Swagger

Table of Contents


Overview

This e-commerce platform is designed using a Microservices Architecture, allowing services to operate independently and scale efficiently. The system supports secure transactions via Stripe, uses Azure Service Bus for asynchronous messaging, and includes an API Gateway to route requests and manage authentication with JWT tokens.


Features

  • Modular and independent microservices
  • Each microservice has its own database
  • Secure payment processing with Stripe
  • Real-time communication via Azure Service Bus
  • Authentication and authorization via JWT
  • Unified access point through an API Gateway
  • Admin and customer interaction through ASP.NET MVC frontend
  • Clean architecture with CQRS and MediatR
  • Swagger UI for testing and documentation

Architecture

  • Backend: Multiple .NET Web APIs acting as microservices
  • Frontend: ASP.NET MVC application consuming APIs
  • Communication: JSON-based HTTP calls & Azure Service Bus
  • Security: JWT Token + API Gateway
  • Database: Each microservice owns its separate SQL Server database
  • Payments: Stripe integration for checkout

Database Design

Each microservice has its own isolated database schema.

db1 db2 db2 db2


API Endpoints

Each service exposes a clear set of RESTful endpoints. Documentation is available via Swagger.

endpoints endpoints endpoints endpoints endpoints endpoints


Getting Started

Prerequisites

Setup

  1. Clone the repository

    git clone https://github.com/ayaatef11/Ecommerce-Microservices.git
    cd Ecommerce-Microservices

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published