How sagarvssv/vcloudmaster_blog_application works
VCloudMaster Blog is a React blog application for readers and administrators. Readers browse and filter posts, open articles, and interact through comments and reactions; administrators sign in to manage posts, comments, and publication. The graph follows routing into those workflows, then their API and session layers. The README only identifies the product as a blog, so feature details and connections rely on the supplied source excerpts and SOURCE INDEX; backend implementation is not present in the tree.
Main entry points: PostPage.jsx Read article · posts.js Posts API · App.jsx Route setup · PostEditor.jsx Post editor
Components 20
Application routing
- Route setup
src/App.jsx
Reader experience
- Browse posts
src/pages/Home.jsx - Read article
src/pages/PostPage.jsx - Article rendering
src/components/blog/ArticleBody.jsx - Comments
src/components/blog/CommentSection.jsx - Post reactions
src/components/blog/Reactions.jsx - Post cards
src/components/blog/PostCard.jsx - Image lightbox
src/components/blog/ImageLightbox.jsx
Administration
- Admin dashboard
src/pages/admin/Dashboard.jsx - Post editor
src/pages/admin/PostEditor.jsx - Comment moderation
src/pages/admin/Comments.jsx
API and shared services
- Authentication state
src/context/AuthContext.jsx - Auth API
src/api/auth.js - Posts API
src/api/posts.js - HTTP client
src/api/client.js - Blog backend
- Content utilities
src/utils/content.js - Session storage
src/utils/session.js
Other components
- Reader
- Administrator
Connections 31
- Reader → Route setup: opens app
src/App.jsx - Administrator → Route setup: opens app
src/App.jsx - Route setup → Browse posts: routes to
src/App.jsx - Route setup → Read article: routes to
src/App.jsx - Route setup → Admin dashboard: routes to
src/App.jsx - Route setup → Post editor: routes to
src/App.jsx - Route setup → Comment moderation: routes to
src/App.jsx - Browse posts → Posts API: fetches posts
src/pages/Home.jsx - Browse posts → Post cards: renders cards
src/pages/Home.jsx - Read article → Posts API: fetches article
src/pages/PostPage.jsx - Read article → Posts API: fetches related
src/pages/PostPage.jsx - Read article → Article rendering: renders body
src/pages/PostPage.jsx - Read article → Comments: renders comments
src/pages/PostPage.jsx - Read article → Post reactions: renders reactions
src/pages/PostPage.jsx - Read article → Post cards: renders related
src/pages/PostPage.jsx - Read article → Image lightbox: opens image
src/pages/PostPage.jsx - Article rendering → Image lightbox: opens image
src/components/blog/ArticleBody.jsx - Comments → Posts API: submits comments
src/components/blog/CommentSection.jsx - Post reactions → Posts API: sends reaction
src/components/blog/Reactions.jsx - Admin dashboard → Posts API: manages posts
src/pages/admin/Dashboard.jsx - Post editor → Posts API: saves posts
src/pages/admin/PostEditor.jsx - Comment moderation → Posts API: moderates comments
src/pages/admin/Comments.jsx - Post editor → Article rendering: previews body
src/pages/admin/PostEditor.jsx - Post editor → Content utilities: prepares content
src/pages/admin/PostEditor.jsx - Read article → Content utilities: prepares article
src/pages/PostPage.jsx - Posts API → HTTP client: sends requests
src/api/posts.js - Auth API → HTTP client: sends requests
src/api/auth.js - HTTP client → Blog backend: calls API
src/api/client.js - Authentication state → Auth API: checks session
src/context/AuthContext.jsx - Authentication state → Session storage: reads and saves
src/context/AuthContext.jsx - HTTP client → Session storage: reads token
src/api/client.js