How bhargav007dobhal/post-flow-blog-website- works
Project type and purpose
• This is a full-stack blog platform (“Post Flow”) with a React SPA frontend and a Node.js/Express RESTful backend.
• Core features: user registration & login (JWT), CRUD operations on posts, comments, image uploads (via Multer), and a MySQL relational database.
File structure
• Top-level directories:
• backend/ – Node.js/Express API (controllers/, middleware/, models/, routes/, Uploads/)
• frontend/ – React app (components/, pages/, context/, services/)
• Key config files: .env (DB & JWT secrets), package.json in both layers, tailwind.config.js for styling
• Architectural cues:
• Backend MVC pattern (models/db.js, controllers/*, routes/*)
• Frontend component-based UI + context for auth state + service layer for HTTP (axios)
README for additional insights
• Confirms tech stack: MySQL, Node.js, Express, React, Tailwind CSS, JWT auth
• Describes database schema (users, posts, comments, likes)
• Deployment hints: Express serves API and static /uploads folder; React runs on localhost:3000
Detailed capture of architectural elements
• Major React page (Home, Profile, CreatePost) as sub-components under UI.
• Context provider wrapping the React tree.
• Data flow for CRUD operations and authentication.