How karthi-as-dev/blogging-website works
Inkwell is a full-stack blogging and social publishing platform. Readers browse feeds, explore and search posts, then open articles; authors authenticate, write or edit drafts, publish, and manage their work. Profiles, comments, likes, bookmarks, follows, notifications, and administration extend that core workflow. The graph follows the documented React-to-Express product split and sampled backend calls; several frontend page-to-service and backend route-to-controller links are only documented or indexed, so uncertain connections are dashed.
Main entry points: App.jsx Route experience · server.js Express API host · blogController.js Blog operations · User.js User records
Components 29
Web experience
- Route experience
frontend/src/App.jsx - Feed and explore
frontend/src/pages/HomePage.jsx - Article view
frontend/src/pages/BlogDetailPage.jsx - Blog editor
frontend/src/components/BlogEditor.jsx - Author dashboard
frontend/src/pages/DashboardPage.jsx - Admin panel
frontend/src/pages/AdminPage.jsx - API client
frontend/src/services/api.js - Loading indicator
frontend/src/components/ui/LoadingSpinner.jsx
Identity and profiles
- Auth context
frontend/src/context/AuthContext.jsx - Sign in and register
frontend/src/pages/LoginPage.jsx - Profiles and settings
frontend/src/pages/ProfilePage.jsx - Authentication logic
backend/controllers/authController.js - User profiles logic
backend/controllers/userController.js
Publishing and discovery
- Global search
frontend/src/pages/SearchPage.jsx - Blog operations
backend/controllers/blogController.js
Social engagement
- Bookmarks page
frontend/src/pages/BookmarksPage.jsx - Notifications page
frontend/src/pages/NotificationsPage.jsx - Comment operations
backend/controllers/commentController.js - Follow operations
backend/controllers/followController.js - Notification creation
backend/utils/notificationHelper.js
API and persistence
- Express API host
backend/server.js - Administration logic
backend/controllers/adminController.js - User records
backend/models/User.js - Blog records
backend/models/Blog.js - Comment records
backend/models/Comment.js - Follow records
backend/models/Follow.js - Notification records
backend/models/Notification.js - Cloudinary media
backend/config/cloudinary.js
Other components
- Reader / author
Connections 42
- Reader / author → Route experience: uses
README.md - Route experience → Feed and explore: routes to
frontend/src/App.jsx - Route experience → Article view: routes to
frontend/src/App.jsx - Route experience → Blog editor: routes to
frontend/src/App.jsx - Route experience → Author dashboard: routes to
frontend/src/App.jsx - Route experience → Admin panel: routes to
frontend/src/App.jsx - Route experience → Sign in and register: routes to
frontend/src/App.jsx - Route experience → Auth context: checks session
frontend/src/App.jsx - Route experience → Loading indicator: renders
frontend/src/App.jsx - Route experience → Profiles and settings: routes to
frontend/src/App.jsx - Route experience → Global search: routes to
frontend/src/App.jsx - Route experience → Bookmarks page: routes to
frontend/src/App.jsx - Route experience → Notifications page: routes to
frontend/src/App.jsx - Auth context → API client: uses
frontend/src/context/AuthContext.jsx - Reader / author → API client: requests
- API client → Express API host: calls API
- Express API host → Authentication logic: mounts auth routes
backend/server.js - Express API host → User profiles logic: mounts user routes
backend/server.js - Express API host → Blog operations: mounts blog routes
backend/server.js - Express API host → Comment operations: mounts comment routes
backend/server.js - Express API host → Follow operations: mounts follow routes
backend/server.js - Express API host → Administration logic: mounts admin routes
backend/server.js - Authentication logic → User records: reads and writes
backend/controllers/authController.js - User profiles logic → User records: reads and writes
backend/controllers/userController.js - User profiles logic → Blog records: reads blogs
backend/controllers/userController.js - User profiles logic → Follow records: reads follows
backend/controllers/userController.js - Blog operations → Blog records: reads and writes
backend/controllers/blogController.js - Blog operations → User records: updates counts
backend/controllers/blogController.js - Blog operations → Follow records: finds followers
backend/controllers/blogController.js - Blog operations → Notification creation: creates alerts
backend/controllers/blogController.js - Blog operations → Cloudinary media: uses uploads
backend/controllers/blogController.js - Comment operations → Comment records: reads and writes
backend/controllers/commentController.js - Comment operations → Blog records: updates blog
backend/controllers/commentController.js - Comment operations → Notification creation: creates alerts
backend/controllers/commentController.js - Follow operations → Follow records: reads and writes
backend/controllers/followController.js - Follow operations → User records: updates counts
backend/controllers/followController.js - Follow operations → Notification creation: creates alerts
backend/controllers/followController.js - Notification creation → Notification records: creates records
backend/utils/notificationHelper.js - Administration logic → User records: manages users
backend/controllers/adminController.js - Administration logic → Blog records: manages posts
backend/controllers/adminController.js - Administration logic → Comment records: manages comments
backend/controllers/adminController.js - Blog editor → Cloudinary media: uploads images
README.md