# mubashirmian/render-satellite-community architecture

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

- Interactive diagram: https://gitdiagram.com/mubashirmian/render-satellite-community
- Repository: https://github.com/mubashirmian/render-satellite-community

## Overview

This repository appears to be a Spring-based blogging/community application. The likely user workflow is to authenticate and then use API endpoints to manage posts, categories, comments, and users; the tree also indicates JWT security, file handling, and persistence layers. No README or source excerpts were provided, so these relationships are inferred from names and package structure. Dashed edges mark unverified relationships, not inspected call paths.

Main entry points: [`testStatCommunity/src/main/java/com/example/BlogApp/repositories`](https://github.com/mubashirmian/render-satellite-community/tree/main/testStatCommunity/src/main/java/com/example/BlogApp/repositories) (Data repositories), [`testStatCommunity/src/main/java/com/example/BlogApp/security/JwtAuthenticationFilter.java`](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/security/JwtAuthenticationFilter.java) (JWT filter), [`testStatCommunity/src/main/java/com/example/BlogApp/service/impl/PostServiceImpl.java`](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/service/impl/PostServiceImpl.java) (Post service), [`testStatCommunity/src/main/java/com/example/BlogApp/controllers/AuthenticationController.java`](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/controllers/AuthenticationController.java) (Authentication API)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_api["API layer"]
  node_auth_api["Authentication API"]
  node_post_api["Post API"]
  node_category_api["Category API"]
  node_comment_api["Comment API"]
  node_user_api["User API"]
end

subgraph group_identity["Identity and security"]
  node_security_config["Security configuration"]
  node_auth_service["Authentication service"]
  node_jwt_filter["JWT filter"]
  node_jwt_service["JWT service<br/>[JwtService.java]"]
  node_user_details["User details loader"]
end

subgraph group_content["Blog content"]
end

subgraph group_services["Application services"]
  node_post_service["Post service"]
  node_category_service["Category service"]
  node_comment_service["Comment service"]
  node_user_service["User service"]
  node_file_service["File service"]
end

subgraph group_data["Domain and persistence"]
  node_post_domain["Post model<br/>[Post.java]"]
  node_category_domain["Category model<br/>[Category.java]"]
  node_comment_domain["Comment model<br/>[Comment.java]"]
  node_user_domain["User and roles<br/>[User.java]"]
  node_repositories[("Data repositories")]
end

node_community_user(("Community user"))

node_community_user -.->|"authenticates"| node_auth_api
node_community_user -.->|"manages posts"| node_post_api
node_community_user -.->|"uses categories"| node_category_api
node_community_user -.->|"manages comments"| node_comment_api
node_community_user -.->|"uses accounts"| node_user_api
node_auth_api -.->|"delegates auth"| node_auth_service
node_security_config -.->|"configures filter"| node_jwt_filter
node_jwt_filter -.->|"checks tokens"| node_jwt_service
node_jwt_filter -.->|"loads identity"| node_user_details
node_post_api -.->|"delegates"| node_post_service
node_category_api -.->|"delegates"| node_category_service
node_comment_api -.->|"delegates"| node_comment_service
node_user_api -.->|"delegates"| node_user_service
node_post_service -.->|"accesses data"| node_repositories
node_category_service -.->|"accesses data"| node_repositories
node_comment_service -.->|"accesses data"| node_repositories
node_user_service -.->|"accesses data"| node_repositories
node_post_service -.->|"uses files"| node_file_service
node_repositories -.->|"persists"| node_post_domain
node_repositories -.->|"persists"| node_category_domain
node_repositories -.->|"persists"| node_comment_domain
node_repositories -.->|"persists"| node_user_domain

click node_auth_api "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/controllers/AuthenticationController.java"
click node_post_api "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/controllers/PostController.java"
click node_category_api "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/controllers/CategoryController.java"
click node_comment_api "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/controllers/CommentController.java"
click node_user_api "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/controllers/UserController.java"
click node_security_config "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/config/SecurityConfig.java"
click node_auth_service "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/security/AuthenticationService.java"
click node_jwt_filter "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/security/JwtAuthenticationFilter.java"
click node_jwt_service "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/security/JwtService.java"
click node_user_details "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/security/UserDetailsServiceImp.java"
click node_post_service "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/service/impl/PostServiceImpl.java"
click node_category_service "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/service/impl/CategoryServiceImpl.java"
click node_comment_service "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/service/impl/CommentServiceImpl.java"
click node_user_service "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/service/impl/UserServiceImpl.java"
click node_file_service "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/service/impl/FileServiceImpl.java"
click node_post_domain "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/blog/entities/Post.java"
click node_category_domain "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/blog/entities/Category.java"
click node_comment_domain "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/blog/entities/Comment.java"
click node_user_domain "https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/blog/entities/User.java"
click node_repositories "https://github.com/mubashirmian/render-satellite-community/tree/main/testStatCommunity/src/main/java/com/example/BlogApp/repositories"

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_auth_api,node_post_api,node_category_api,node_comment_api,node_user_api,node_community_user toneBlue
class node_security_config,node_auth_service,node_jwt_filter,node_jwt_service,node_user_details toneAmber
class node_post_service,node_category_service,node_comment_service,node_user_service,node_file_service toneRose
class node_post_domain,node_category_domain,node_comment_domain,node_user_domain,node_repositories toneIndigo
```

## Components

### API layer

- [Authentication API](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/controllers/AuthenticationController.java): `testStatCommunity/src/main/java/com/example/BlogApp/controllers/AuthenticationController.java`
- [Post API](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/controllers/PostController.java): `testStatCommunity/src/main/java/com/example/BlogApp/controllers/PostController.java`
- [Category API](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/controllers/CategoryController.java): `testStatCommunity/src/main/java/com/example/BlogApp/controllers/CategoryController.java`
- [Comment API](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/controllers/CommentController.java): `testStatCommunity/src/main/java/com/example/BlogApp/controllers/CommentController.java`
- [User API](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/controllers/UserController.java): `testStatCommunity/src/main/java/com/example/BlogApp/controllers/UserController.java`

### Identity and security

- [Security configuration](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/config/SecurityConfig.java): `testStatCommunity/src/main/java/com/example/BlogApp/config/SecurityConfig.java`
- [Authentication service](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/security/AuthenticationService.java): `testStatCommunity/src/main/java/com/example/BlogApp/security/AuthenticationService.java`
- [JWT filter](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/security/JwtAuthenticationFilter.java): `testStatCommunity/src/main/java/com/example/BlogApp/security/JwtAuthenticationFilter.java`
- [JWT service](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/security/JwtService.java): `testStatCommunity/src/main/java/com/example/BlogApp/security/JwtService.java`
- [User details loader](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/security/UserDetailsServiceImp.java): `testStatCommunity/src/main/java/com/example/BlogApp/security/UserDetailsServiceImp.java`

### Application services

- [Post service](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/service/impl/PostServiceImpl.java): `testStatCommunity/src/main/java/com/example/BlogApp/service/impl/PostServiceImpl.java`
- [Category service](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/service/impl/CategoryServiceImpl.java): `testStatCommunity/src/main/java/com/example/BlogApp/service/impl/CategoryServiceImpl.java`
- [Comment service](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/service/impl/CommentServiceImpl.java): `testStatCommunity/src/main/java/com/example/BlogApp/service/impl/CommentServiceImpl.java`
- [User service](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/service/impl/UserServiceImpl.java): `testStatCommunity/src/main/java/com/example/BlogApp/service/impl/UserServiceImpl.java`
- [File service](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/service/impl/FileServiceImpl.java): `testStatCommunity/src/main/java/com/example/BlogApp/service/impl/FileServiceImpl.java`

### Domain and persistence

- [Post model](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/blog/entities/Post.java): `testStatCommunity/src/main/java/com/example/BlogApp/blog/entities/Post.java`
- [Category model](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/blog/entities/Category.java): `testStatCommunity/src/main/java/com/example/BlogApp/blog/entities/Category.java`
- [Comment model](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/blog/entities/Comment.java): `testStatCommunity/src/main/java/com/example/BlogApp/blog/entities/Comment.java`
- [User and roles](https://github.com/mubashirmian/render-satellite-community/blob/main/testStatCommunity/src/main/java/com/example/BlogApp/blog/entities/User.java): `testStatCommunity/src/main/java/com/example/BlogApp/blog/entities/User.java`
- [Data repositories](https://github.com/mubashirmian/render-satellite-community/tree/main/testStatCommunity/src/main/java/com/example/BlogApp/repositories): `testStatCommunity/src/main/java/com/example/BlogApp/repositories`

### Other components

- **Community user**

## Connections

- Community user → Authentication API: authenticates
- Community user → Post API: manages posts
- Community user → Category API: uses categories
- Community user → Comment API: manages comments
- Community user → User API: uses accounts
- Authentication API → Authentication service: delegates auth
- Security configuration → JWT filter: configures filter
- JWT filter → JWT service: checks tokens
- JWT filter → User details loader: loads identity
- Post API → Post service: delegates
- Category API → Category service: delegates
- Comment API → Comment service: delegates
- User API → User service: delegates
- Post service → Data repositories: accesses data
- Category service → Data repositories: accesses data
- Comment service → Data repositories: accesses data
- User service → Data repositories: accesses data
- Post service → File service: uses files
- Data repositories → Post model: persists
- Data repositories → Category model: persists
- Data repositories → Comment model: persists
- Data repositories → User and roles: persists
