Skip to content

iamPiyushNagpal/Blog-App-MERN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to go up and running

  • Local env

    1. Clone this repo
    git clone https://github.com/iamPiyushNagpal/Blog-App-MERN.git 
    
    1. Go to folder
    cd Blog-App-MERN
    
    1. Create .env file at the root of the project and define the following
      NODE_ENV=
      PORT=
      MONGO_URI=
      JWT_SECRET=
    
    1. Install required packages
    npm install
    cd frontend && npm install
    cd ../
    
    1. Run the server
    npm run dev