PersonalAdvanced

MicroServices Demo

A demo project showcasing microservices architecture with polyglot programming and event-driven communication using Kafka.

MicroServices Demo
— Overview

System Architecture

graph LR
    subgraph Clients
        A[Web App]
    end
    subgraph "API Layer"
        B[API Gateway<br/>NestJS]
    end
    subgraph Services
        C[Auth Service<br/>ASP.NET Core 8]
        D[Blog Service<br/>NestJS]
        E[Notification<br/>Express.js]
        F[AI Service<br/>FastAPI]
    end
    subgraph "Message Broker"
        G[Apache Kafka]
    end
    subgraph "Data Stores"
        H[(PostgreSQL)]
        I[(MongoDB)]
        J[(Redis)]
    end
    A --> B
    B --> C & D
    D --> G
    G --> E & F
    C --> H
    D --> H & J
    E --> I

A practical, event-driven microservices demo showcasing polyglot architecture, Kafka messaging, and modern DevOps patterns.

Services:

  • API Gateway (NestJS): JWT validation, routing, rate limiting
  • Auth Service (ASP.NET Core 8 + PostgreSQL): User management, OAuth, JWT
  • Blog Service (NestJS + PostgreSQL + Redis): Posts, comments, likes, caching
  • Notification Service (Express.js + MongoDB): Push notifications
  • AI Service (FastAPI): Content summarization, title generation
— Stack
MicroservicesASP.NET CorePythonNestJS