MERN Stack Blogging Application

Description

This project is a simple blogging application built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. It allows users to create, read, update, and delete blog posts. The backend server is built with Express.js and MongoDB, providing RESTful API endpoints for CRUD operations. The frontend is developed using React.js, providing an interactive user interface for managing blog posts.

Features

  • User authentication and authorization.
  • CRUD operations for blog posts.
  • Markdown, HTML, and rich text editor support for writing blog content.
  • Responsive design for mobile and desktop devices.

Technologies Used

  • MongoDB
  • Express.js
  • React.js
  • Node.js
  • Mongoose
  • Axios
  • HTML/CSS
  • Tailwindcss and React Bootstrap
  • Markdown parser (e.g., marked)
  • HTML sanitizer (e.g., HTMLReactParser)
  • Rich text editor library (e.g., ReactQuill)

Installation

  1. Clone the repository: git clone https://github.com/KashifKhn/Blogging_MERN_APP.git
  2. Navigate to the backend directory: cd server
  3. Install backend dependencies: npm install
  4. Start the backend server: npm run dev or npm start
  5. Navigate to the frontend directory: cd client
  6. Install frontend dependencies: npm install
  7. Start the frontend server: npm run dev
  8. Open your browser and visit http://localhost:5173 to view the application.

Usage

  • Register/Login to access the blogging features.
  • Create new blog posts using markdown, HTML, or the rich text editor.
  • Edit existing posts or delete posts.
  • View and interact with other users' blog posts.
  • Enjoy reading and writing blog content in a user-friendly interface.

Contribution

Contributions are welcome! Feel free to open issues or submit pull requests to contribute to the project.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

[Kashif Khan] - KashifKhn