Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 770 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 770 Bytes

Query Box

A fully functional StackOverflow clone developed for a smaller community discussions and QnA platform

Setup

  • Clone the repo in your local environment using command git clone https://github.com/belphegor-s/query-box.git
  • Install node modules for each frontend and backend-server directories using command npm i
  • In the backend-server directory create a .env file with following key value pairs-
MONGODB_URI = "Your mongoDB URI"
PORT = 8080
SECRET = "Your JWT Secret"
  • Start the server in backend-server directory by using command npm start or nodemon index.js (for dev environment)
  • Replace the backendUrl in this file - /frontend/src/backendUrl.js
  • Start the frontend app as well using command npm start