How iam-veeramalla/jerney works
Jerney is a React blog platform backed by a Node.js/Express API and PostgreSQL. Readers browse a feed, open posts, and comment; authors can create, edit, and delete posts, while comments can also be deleted. Frontend pages call a shared API client, backend route handlers perform domain operations, and the database module initializes and accesses persistent post and comment data. The README documents the three-tier architecture and API endpoints; frontend-to-backend HTTP wiring is represented at that documented boundary.
Main entry points: App.jsx App routing · api.js API client · PostDetail.jsx Post detail · index.js API server
Components 16
React frontend
- App routing
frontend/src/App.jsx - Post feed
frontend/src/pages/Home.jsx - Post card
frontend/src/components/PostCard.jsx - Post detail
frontend/src/pages/PostDetail.jsx - Create post
frontend/src/pages/CreatePost.jsx - Edit post
frontend/src/pages/EditPost.jsx - Comment section
frontend/src/components/CommentSection.jsx - Confirm modal
frontend/src/components/ConfirmModal.jsx - Navigation bar
frontend/src/components/Navbar.jsx - API client
frontend/src/api.js
Express API
- API server
backend/src/index.js - Post routes
backend/src/routes/posts.js - Comment routes
backend/src/routes/comments.js - Database access
backend/src/db.js
PostgreSQL persistence
- PostgreSQL
Other components
- Blog visitor
Connections 21
- Blog visitor → App routing: uses
README.md - App routing → Post feed: routes to
frontend/src/App.jsx - App routing → Post detail: routes to
frontend/src/App.jsx - App routing → Create post: routes to
frontend/src/App.jsx - App routing → Edit post: routes to
frontend/src/App.jsx - App routing → Navigation bar: renders
frontend/src/App.jsx - Post feed → API client: fetches feed
frontend/src/pages/Home.jsx - Post feed → Post card: renders
frontend/src/pages/Home.jsx - Post detail → API client: loads and deletes
frontend/src/pages/PostDetail.jsx - Post detail → Comment section: renders
frontend/src/pages/PostDetail.jsx - Post detail → Confirm modal: renders
frontend/src/pages/PostDetail.jsx - Create post → API client: creates post
frontend/src/pages/CreatePost.jsx - Edit post → API client: loads and updates
frontend/src/pages/EditPost.jsx - Comment section → API client: creates and deletes
frontend/src/components/CommentSection.jsx - API client → API server: HTTP requests
README.md - API server → Post routes: mounts routes
backend/src/index.js - API server → Comment routes: mounts routes
backend/src/index.js - API server → Database access: initializes database
backend/src/index.js - Post routes → Database access: queries
backend/src/routes/posts.js - Comment routes → Database access: queries
backend/src/routes/comments.js - Database access → PostgreSQL: reads and writes
backend/src/db.js