This is a MERN (MongoDB, Express, React, Node.js) stack blog application. It allows users to create, read, update, and delete blog posts.
Before running this application, make sure you have the following installed on your system:
- Node.js: You can download it from nodejs.org.
- MongoDB: Install MongoDB and make sure the MongoDB server is running.
- Mongoose: Install Mongoose and connect t mongodb atlas and create a database ( sahred is for free )
git clone https://github.com/mirza7860/Mern-Blog-Server.git Server (Backend) In the server directory, install the required dependencies:
npm install
Run the Application Server (Backend) From the server directory, start the Node.js server using nodemon:
nodemon index.js
The server will run on
http://localhost:8000
Once the client and server are running, you can access the MERN blog application in your web browser. You can create, read, update, and delete blog posts. This expanded README provides more detailed information about setting up the project and running it locally. Additionally, it includes sections on environment variables, usage, contributing, and licensing, which are common in README files to provide a better understanding of the project for potential users or collaborators.