Welcome to the MERN Blog Site project! This is a full-stack web application built using the MERN stack (MongoDB, Express, React, Node.js). The project aims to provide a platform for users to publish, read, and interact with blog posts.
- User authentication and authorization.
- Create, edit, and delete blog posts.
- Comment on blog posts.
- User profile management.
- Responsive and user-friendly UI.
This project utilizes the following dependencies:
- bcryptjs: Password hashing and authentication.
- cookie-parser: Parse HTTP cookies.
- cors: Enable Cross-Origin Resource Sharing.
- express: Web application framework for Node.js.
- jsonwebtoken: JWT authentication.
- mongoose: MongoDB object modeling.
- multer: File upload middleware.
- react-router-dom: Declarative routing for React.
To run this project locally, follow these steps:
- Clone this repository to your local machine.
- Navigate to the project directory:
cd mern-blog-site
. - Install server-side dependencies:
npm install
. - Navigate to the client directory:
cd client
. - Install client-side dependencies:
npm install
.
- Start the server: In the project root directory, run
npm start
. - Start the client: In the
client
directory, runnpm start
.
Contributions are welcome! Please follow the contribution guidelines if you'd like to contribute to this project.
This project is licensed under the MIT License.