Skip to content

mirza7860/Mern-Blog-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

MERN Blog App

Introduction

This is a MERN (MongoDB, Express, React, Node.js) stack blog application. It allows users to create, read, update, and delete blog posts.

Prerequisites

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 )

Getting Started

1. Clone the Repository

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published