Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sanika365/blog-application

blog application using mern stack
https://github.com/sanika365/blog-application

expressjs javascript mognodb nodejs reactjs

Last synced: about 1 month ago
JSON representation

blog application using mern stack

Awesome Lists containing this project

README

        

# MERN-Blog-Application

This is the **BLog Application** Web App developed using MERN Stack

I have used MongoDB Atlas as a Database

*The user can perform CRUD operations and can see the blogs posted by others.*

### **[View Demo](https://mern-blog-app-zzot.onrender.com)**

## Demo Images

![Demo Image 1]()

![Demo Image 2]()

## Before Running this application

Add your MONGODB ATLAS URI in **.env-example** in backend folder


Rename the .env-example file to **.env**

## To run this application

#### To Run from Root Directory

`npm run dev`
(concurrently run server and client)

or

`npm run server` (only run backend)

`npm run client` (only run frontend)

#### To Run Backend
`npm --prefix backend start` (node)

or


`npm --prefix backend run server` (with nodemon)

or

`cd backend`

`npm install`

`npm start`

#### To Run Frontend

`npm --prefix frontend run client`

or

`cd frontend`

`npm install`

`npm run dev`