This project is a blog platform where users can register, login, and create blog posts. The platform supports user authentication, user roles (e.g., Author), and image uploads using Cloudinary. The project is built with Node.js, Express, MongoDB, and uses bcrypt for password hashing.
- User Registration and Login
- Password Hashing and Authentication
- User Roles (e.g., Author)
- Blog Post Creation and Management
- Image Upload with Cloudinary
- Node.js installed on your machine
- MongoDB installed and running on your machine
- Cloudinary account for image uploads
- Clone the repository
git clone https://github.com/Ketan-33/MERNstack-blog-page.git cd MERNstack-blog-page - Set up enviroment
cd backend copy config.env.example config.env
- edit the .env file with your credentials
- Seed the database
- Inside backend directory
npm run seed
- Install Dependencies and Start project
- Inside backend and frontend directories run
npm install npm start
- Access the application Open your browser and navigate to http://localhost:5173
| Role | Password | |
|---|---|---|
| Author | obito@example.com | password123 |








