The MERN Blog App is a full-stack blogging application built using the MERN stack (MongoDB, Express.js, React, Node.js). This application allows users to create, read, update, and delete blog posts. It also includes user authentication and authorization, allowing users to register and log in to manage their own posts..
- User Authentication: Register, Login, Logout
- CRUD Operations: Create, Read, Update, and Delete blog posts
- User-specific Post Management: Users can manage their own posts
- Responsive Design: Ensures usability across various devices
- React: A JavaScript library for building user interfaces
- Redux: State management library
- Axios: Promise-based HTTP client
- CSS: Styling
- Node.js: JavaScript runtime built on Chrome's V8 JavaScript engine
- Express.js: Web framework for Node.js
- MongoDB: NoSQL database
- Mongoose: MongoDB object modeling tool
- JSON Web Tokens (JWT): For secure user authentication
- bcrypt: For password hashing
- Node.js: Install from Node.js official website
- MongoDB: Install from MongoDB official website
-
Clone the repository:
git clone https://github.com/DeveloperWilliams/MERN-Blog-App.git cd mern-blog-app
-
Install dependencies for both frontend and backend:
cd client npm install cd ../server npm install
-
Set up environment variables:
PORT=5000 MONGODB_URI= JWT_SECRET=
-
Run the application:
cd server npm install npm start
Terminal two
cd server npm install npm start
We welcome contributions from the community! If you'd like to contribute, please follow these steps:
- Fork the repository to your own GitHub account.
- Clone the forked repository to your local machine.
- Create a new branch with a descriptive name for your feature or bug fix.
- Make your changes and commit them with clear and descriptive commit messages
- Push your changes to your forked repository.
- Open a Pull Request to the main repository, providing a detailed description of your changes and the problem they solve.
Please make sure your code adheres to my coding standards and passes all tests. Thanks!
This project is licensed under the MIT License