For running this project on your local machine:
-
Node.js is required.
-
Clone repo from master branch
-
Then execute the following command on your terminal in the project directory:
NOTE : You should be inside
MyTutorQuizBox
directory andindex.js
file should be there
$ npm install
$ npm install --prefix client
- Add
SECRET_KEY
andMONGO_URL
in your .env file
NOTE : SECRET_KEY could be any random thing and MONGO_URL as mongodb://127.0.0.1:27017/<app_name>
-
Run your local monog demon (mongod.exe)
-
Next you can run the application on your localhost:
Below command is there for running front end and back end both through concurrently
$ npm run dev
To run this without backend
$ npm run client
- Build for production:
$ npm run build
Pawan Gulati (https://github.com/PawanGulati)