A fully functional StackOverflow clone developed for a smaller community discussions and QnA platform
- 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
andbackend-server
directories using commandnpm 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 commandnpm start
ornodemon index.js
(for dev environment) - Replace the backendUrl in this file -
/frontend/src/backendUrl.js
- Start the
frontend
app as well using commandnpm start