# yeshendradhaker/linkedin-app-microservices architecture

> Architecture diagram of the GitHub repository yeshendradhaker/linkedin-app-microservices, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/yeshendradhaker/linkedin-app-microservices
- Repository: https://github.com/yeshendradhaker/linkedin-app-microservices

## Overview

This README describes a LinkedIn-style microservices backend. The documented request path starts at a client, passes through a JWT-validating, rate-limiting API Gateway, and reaches user, post, feed, search, or notification services. Those services cover identity, content and media, cached feeds, full-text discovery, and notifications. The README also names MySQL, Redis, Elasticsearch, Kafka, and S3 as supporting state or infrastructure. The repository contains no source excerpts, so service-to-service calls and specific Kafka event producers are not established here.

Main entry points: [`README.md`](https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md) (API Gateway)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Entry"]
  node_gateway["API Gateway<br/>[README.md]"]
end

subgraph group_core["Core Services"]
  node_user["User Service<br/>[README.md]"]
  node_post["Post Service<br/>[README.md]"]
end

subgraph group_discovery["Discovery and Engagement"]
  node_feed["Feed Service<br/>[README.md]"]
  node_search["Search Service<br/>[README.md]"]
  node_notification["Notification Service<br/>[README.md]"]
end

subgraph group_infrastructure["State and Messaging"]
  node_mysql[("MySQL<br/>[README.md]")]
  node_redis[("Redis<br/>[README.md]")]
  node_elasticsearch[("Elasticsearch<br/>[README.md]")]
  node_kafka["Kafka<br/>[README.md]"]
  node_s3[("AWS S3<br/>[README.md]")]
end

node_client(("Client"))

node_client -->|"sends requests"| node_gateway
node_gateway -->|"routes requests"| node_user
node_gateway -->|"routes requests"| node_post
node_gateway -->|"routes requests"| node_feed
node_gateway -->|"routes requests"| node_search
node_gateway -->|"routes requests"| node_notification
node_user -->|"uses storage"| node_mysql
node_post -->|"uses storage"| node_mysql
node_post -->|"stores media"| node_s3
node_feed -->|"caches feeds"| node_redis
node_search -->|"searches index"| node_elasticsearch
node_notification -->|"consumes events"| node_kafka
node_gateway -->|"limits requests"| node_redis

click node_gateway "https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md"
click node_user "https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md"
click node_post "https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md"
click node_feed "https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md"
click node_search "https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md"
click node_notification "https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md"
click node_mysql "https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md"
click node_redis "https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md"
click node_elasticsearch "https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md"
click node_kafka "https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md"
click node_s3 "https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_gateway,node_client toneBlue
class node_user,node_post toneAmber
class node_feed,node_search,node_notification toneMint
class node_mysql,node_redis,node_elasticsearch,node_kafka,node_s3 toneRose
```

## Components

### Entry

- [API Gateway](https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md): `README.md`

### Core Services

- [User Service](https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md): `README.md`
- [Post Service](https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md): `README.md`

### Discovery and Engagement

- [Feed Service](https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md): `README.md`
- [Search Service](https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md): `README.md`
- [Notification Service](https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md): `README.md`

### State and Messaging

- [MySQL](https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md): `README.md`
- [Redis](https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md): `README.md`
- [Elasticsearch](https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md): `README.md`
- [Kafka](https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md): `README.md`
- [AWS S3](https://github.com/yeshendradhaker/linkedin-app-microservices/blob/main/README.md): `README.md`

### Other components

- **Client**

## Connections

- Client → API Gateway: sends requests (evidence: `README.md`)
- API Gateway → User Service: routes requests (evidence: `README.md`)
- API Gateway → Post Service: routes requests (evidence: `README.md`)
- API Gateway → Feed Service: routes requests (evidence: `README.md`)
- API Gateway → Search Service: routes requests (evidence: `README.md`)
- API Gateway → Notification Service: routes requests (evidence: `README.md`)
- User Service → MySQL: uses storage (evidence: `README.md`)
- Post Service → MySQL: uses storage (evidence: `README.md`)
- Post Service → AWS S3: stores media (evidence: `README.md`)
- Feed Service → Redis: caches feeds (evidence: `README.md`)
- Search Service → Elasticsearch: searches index (evidence: `README.md`)
- Notification Service → Kafka: consumes events (evidence: `README.md`)
- API Gateway → Redis: limits requests (evidence: `README.md`)
