Blog-It is a MERN (MongoDB, Express.js, React, Node.js) stack application that empowers users to create, view, and search for blog posts. It incorporates robust user authentication using bcrypt, JWT, and cookies, allowing users to log in, register, and engage with the community through comments. Only the author of a post has the authority to update or delete it.
To set up Blog-It locally, follow these comprehensive steps:
-
Clone the repository:
git clone https://github.com/aman090304/Blog-Application cd Blog-Application `
-
Install dependencies for both the client and server:
-
Navigate to the
client
directory and install client dependencies:cd client npm install
-
Move back to the root directory and install server dependencies:
cd .. cd server npm install
-
-
Run the application:
-
In the
client
directory:cd client npm start
-
In the
server
directory:cd .. cd start node app.js
-
-
Access the application:
- Open your browser and navigate to
http://localhost:3000
to view the Blog-application.
- Open your browser and navigate to
This setup process covers cloning the repository, installing dependencies. Make sure to follow each step carefully to ensure a smooth installation process. If you encounter any issues, refer to the documentation or seek help from the community.
Contributions are welcome! Here's how you can contribute to Blog-It:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature
. - Make your changes and commit them:
git commit -m 'Add new feature'
. - Push to your branch:
git push origin feature/your-feature
. - Submit a pull request.
Please ensure that your pull request adheres to the contributing guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.