# vinodambarapu267/blog-platform-with-cms-features architecture

> Architecture diagram of the GitHub repository vinodambarapu267/blog-platform-with-cms-features, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vinodambarapu267/blog-platform-with-cms-features
- Repository: https://github.com/vinodambarapu267/blog-platform-with-cms-features

## Overview

MallvinTech CMS is a blog publishing platform with a React public site and protected management dashboard backed by Spring microservices. The principal workflow is browsing or managing content through the frontend, sending requests through the API gateway, and reaching the relevant backend service; authentication uses JWTs, while Kafka-driven notifications and service discovery support the wider platform. The frontend source is available, but backend implementation details are documented only in the README, so backend relationships below are documentation-based rather than source-verified.

Main entry points: [`frontend/src/App.tsx`](https://github.com/vinodambarapu267/blog-platform-with-cms-features/blob/main/frontend/src/App.tsx) (Route application), [`Api-Gateway`](https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/Api-Gateway) (API gateway), [`Eureka-server`](https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/Eureka-server) (Service registry), [`User-Service`](https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/User-Service) (User service)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web experience"]
  node_app["Route application<br/>[App.tsx]"]
  node_auth["Session auth<br/>[auth-context.tsx]"]
  node_api["API client<br/>[client.ts]"]
  node_public["Public blog"]
  node_login["Sign-in pages"]
end

subgraph group_authoring["CMS workflows"]
  node_posts["Post authoring"]
  node_comments["Comment moderation<br/>[comments-page.tsx]"]
  node_taxonomy["Taxonomy management"]
  node_users["User administration<br/>[users-page.tsx]"]
end

subgraph group_services["Backend services"]
  node_authsvc["Auth service"]
  node_usersvc["User service"]
  node_postsvc["Post service"]
  node_taxsvc["Category-tag service"]
  node_commentsvc["Comment service"]
  node_notify["Notification service"]
end

subgraph group_platform["Platform infrastructure"]
  node_gateway["API gateway"]
  node_eureka[("Service registry")]
  node_kafka["Kafka event bus"]
  node_mysql[("MySQL")]
  node_redis[("Redis cache")]
  node_mail["Email delivery"]
end

node_browser(("Browser visitor"))

node_browser -->|"opens"| node_app
node_app -->|"routes to"| node_public
node_app -->|"routes to"| node_login
node_app -->|"routes to"| node_posts
node_app -->|"routes to"| node_comments
node_app -->|"routes to"| node_taxonomy
node_app -->|"routes to"| node_users
node_auth -->|"validates token"| node_authsvc
node_api -->|"sends requests"| node_gateway
node_gateway -->|"routes auth"| node_authsvc
node_gateway -->|"routes users"| node_usersvc
node_gateway -->|"routes posts"| node_postsvc
node_gateway -->|"routes taxonomy"| node_taxsvc
node_gateway -->|"routes comments"| node_commentsvc
node_eureka -->|"discovers services"| node_authsvc
node_eureka -->|"discovers services"| node_usersvc
node_eureka -->|"discovers services"| node_postsvc
node_eureka -->|"discovers services"| node_taxsvc
node_eureka -->|"discovers services"| node_commentsvc
node_authsvc -->|"persists credentials"| node_mysql
node_usersvc -->|"persists profiles"| node_mysql
node_postsvc -->|"persists posts"| node_mysql
node_taxsvc -->|"persists taxonomy"| node_mysql
node_commentsvc -->|"persists comments"| node_mysql
node_postsvc -->|"caches posts"| node_redis
node_taxsvc -->|"caches taxonomy"| node_redis
node_usersvc -->|"caches users"| node_redis
node_usersvc -->|"publishes events"| node_kafka
node_postsvc -->|"publishes events"| node_kafka
node_commentsvc -->|"publishes events"| node_kafka
node_kafka -->|"delivers events"| node_notify
node_notify -->|"sends email"| node_mail

click node_app "https://github.com/vinodambarapu267/blog-platform-with-cms-features/blob/main/frontend/src/App.tsx"
click node_auth "https://github.com/vinodambarapu267/blog-platform-with-cms-features/blob/main/frontend/src/contexts/auth-context.tsx"
click node_api "https://github.com/vinodambarapu267/blog-platform-with-cms-features/blob/main/frontend/src/api/client.ts"
click node_public "https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/frontend/src/pages/public"
click node_login "https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/frontend/src/pages/auth"
click node_posts "https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/frontend/src/pages/dashboard/posts"
click node_comments "https://github.com/vinodambarapu267/blog-platform-with-cms-features/blob/main/frontend/src/pages/dashboard/comments-page.tsx"
click node_taxonomy "https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/frontend/src/pages/dashboard/taxonomy"
click node_users "https://github.com/vinodambarapu267/blog-platform-with-cms-features/blob/main/frontend/src/pages/dashboard/users-page.tsx"
click node_authsvc "https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/Auth-service"
click node_usersvc "https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/User-Service"
click node_postsvc "https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/Post-Service"
click node_taxsvc "https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/Categories-%26-Tag-service"
click node_commentsvc "https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/Comment-service"
click node_notify "https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/Notification-service"
click node_gateway "https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/Api-Gateway"
click node_eureka "https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/Eureka-server"

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_app,node_auth,node_api,node_public,node_login,node_browser toneBlue
class node_posts,node_comments,node_taxonomy,node_users toneAmber
class node_authsvc,node_usersvc,node_postsvc,node_taxsvc,node_commentsvc,node_notify toneMint
class node_gateway,node_eureka,node_kafka,node_mysql,node_redis,node_mail toneRose
```

## Components

### Web experience

- [Route application](https://github.com/vinodambarapu267/blog-platform-with-cms-features/blob/main/frontend/src/App.tsx): `frontend/src/App.tsx`
- [Session auth](https://github.com/vinodambarapu267/blog-platform-with-cms-features/blob/main/frontend/src/contexts/auth-context.tsx): `frontend/src/contexts/auth-context.tsx`
- [API client](https://github.com/vinodambarapu267/blog-platform-with-cms-features/blob/main/frontend/src/api/client.ts): `frontend/src/api/client.ts`
- [Public blog](https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/frontend/src/pages/public): `frontend/src/pages/public`
- [Sign-in pages](https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/frontend/src/pages/auth): `frontend/src/pages/auth`

### CMS workflows

- [Post authoring](https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/frontend/src/pages/dashboard/posts): `frontend/src/pages/dashboard/posts`
- [Comment moderation](https://github.com/vinodambarapu267/blog-platform-with-cms-features/blob/main/frontend/src/pages/dashboard/comments-page.tsx): `frontend/src/pages/dashboard/comments-page.tsx`
- [Taxonomy management](https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/frontend/src/pages/dashboard/taxonomy): `frontend/src/pages/dashboard/taxonomy`
- [User administration](https://github.com/vinodambarapu267/blog-platform-with-cms-features/blob/main/frontend/src/pages/dashboard/users-page.tsx): `frontend/src/pages/dashboard/users-page.tsx`

### Backend services

- [Auth service](https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/Auth-service): `Auth-service`
- [User service](https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/User-Service): `User-Service`
- [Post service](https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/Post-Service): `Post-Service`
- [Category-tag service](https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/Categories-%26-Tag-service): `Categories-&-Tag-service`
- [Comment service](https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/Comment-service): `Comment-service`
- [Notification service](https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/Notification-service): `Notification-service`

### Platform infrastructure

- [API gateway](https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/Api-Gateway): `Api-Gateway`
- [Service registry](https://github.com/vinodambarapu267/blog-platform-with-cms-features/tree/main/Eureka-server): `Eureka-server`
- **Kafka event bus**
- **MySQL**
- **Redis cache**
- **Email delivery**

### Other components

- **Browser visitor**

## Connections

- Browser visitor → Route application: opens
- Route application → Public blog: routes to (evidence: `frontend/src/App.tsx`)
- Route application → Sign-in pages: routes to (evidence: `frontend/src/App.tsx`)
- Route application → Post authoring: routes to (evidence: `frontend/src/App.tsx`)
- Route application → Comment moderation: routes to (evidence: `frontend/src/App.tsx`)
- Route application → Taxonomy management: routes to (evidence: `frontend/src/App.tsx`)
- Route application → User administration: routes to (evidence: `frontend/src/App.tsx`)
- Session auth → Auth service: validates token (evidence: `frontend/src/contexts/auth-context.tsx`)
- API client → API gateway: sends requests
- API gateway → Auth service: routes auth
- API gateway → User service: routes users
- API gateway → Post service: routes posts
- API gateway → Category-tag service: routes taxonomy
- API gateway → Comment service: routes comments
- Service registry → Auth service: discovers services
- Service registry → User service: discovers services
- Service registry → Post service: discovers services
- Service registry → Category-tag service: discovers services
- Service registry → Comment service: discovers services
- Auth service → MySQL: persists credentials
- User service → MySQL: persists profiles
- Post service → MySQL: persists posts
- Category-tag service → MySQL: persists taxonomy
- Comment service → MySQL: persists comments
- Post service → Redis cache: caches posts
- Category-tag service → Redis cache: caches taxonomy
- User service → Redis cache: caches users
- User service → Kafka event bus: publishes events
- Post service → Kafka event bus: publishes events
- Comment service → Kafka event bus: publishes events
- Kafka event bus → Notification service: delivers events
- Notification service → Email delivery: sends email
