A full-stack blog application built using the MERN (MongoDB, Express.js, React.js, Node.js) stack that allows users to create, read, update, and delete blog posts.
- User authentication (Register/Login)
- Create and edit blog posts with rich text editor
- Upload cover images for blog posts
- Responsive design for all devices
- JWT-based authentication
- Secure password hashing
- CRUD operations for blog posts
Client:
- React.js
- CSS for styling
- React Router for navigation
- Date-fns for date formatting
Server:
- Node.js
- Express.js
- MongoDB with Mongoose
- JWT for authentication
- Bcrypt for password hashing
- Multer for file uploads
POST /register- Register new userPOST /login- Login userPOST /logout- Logout user
GET /post- Get all postsGET /post/:id- Get single postPOST /post- Create new postPUT /post- Update postDELETE /post/:id- Delete post
Home page -
Register Page -
Login Page -
Create Post Page-
Page after login - 