The Blog Platform is a full-stack web application for creating, managing, and publishing blog posts. Built using React.js, Node.js, Express.js, and MySQL, this platform allows users to Create, Read, Update, and Delete (CRUD) blog posts with categories and authentication. It also supports user-based post visibility, ensuring that users can manage their own content while admins have verification control.
-
Category Management
- Add new categories
- Edit existing categories
- Delete categories
-
Post Management
- 📖View all posts
- Edit any post
- Delete any post
- Verify user-submitted posts
- ✍ Post Creation
- Add new posts
- Select a category from a dropdown menu
- ✏️Post Modification
- Edit their own posts before verification
- Delete their own posts before verification
🔒 User Authentication – Secure login/logout system.
✅ Admin Verification – Admins verify posts, making them non-editable.
🏷️ Category Management – Organize posts into categories.
📖 Post Management - Users can view Verified and Uploaded Post in Viewers Page with Category Filter Option.
- Admin Login: Admin logs into the panel to manage categories and posts.
- Category Management: Admin can create, update, and remove categories.
- User Post Submission: Users submit posts and select categories.
- Post Editing/Deletion (User): Users can modify or delete their posts before admin verification.
- Post Verification: Admin verifies posts, making them uneditable by users.
GET /api/categories
- Fetch all categoriesPOST /api/categories
- Add a new categoryPUT /api/categories/:id
- Update a categoryDELETE /api/categories/:id
- Remove a category
GET /api/posts
- Fetch all postsGET /api/posts?categoryId={id}
- Fetch posts by categoryPOST /api/posts
- Add a new postPUT /api/posts/:id
- Update a post (if not verified)DELETE /api/posts/:id
- Delete a post (if not verified)PATCH /api/posts/:id/verify
- Admin verifies a post
-
Clone the repository:
git clone https://github.com/Shree-31/PostGuard-Admin-Verified-Blogging-System cd PostGuard-Admin-Verified-Blogging-System
-
Install dependencies:
npm install
-
Start the backend server:
nodemon server.js
-
Start the React frontend:
npm start
- Frontend: React, Axios
- Backend: Node.js, Express
- Database: MySQL
- Admin pposts will be automatically verified once admin add the post.
- Only the admin can verify posts.
- Verified posts cannot be edited or deleted by users.
- Users can only see their own posts.
📸 Screenshots
📞 Contact For any queries, feel free to reach out:
📧 Email: jaishree3123@gmail.com
🔗 GitHub:Shree-31