Setup - mean-stack-apprentices/AJLS-Kahoot GitHub Wiki

Steps on how to setup and run the project

    • In VSCode, Clone this repository on your local machine: [email protected]:mean-stack-apprentices/AJLS-Kahoot.git
    • create .env file
  • add MONGO_URI = http:mongodb://localhost:27017/nameOfDatabase
  • add ACCESS_TOKEN_SECRET = 123hfjd(any random string)
  • to generate secure random token in node.js, these are the steps:-
  1. In server terminal, type node and enter
  2. then, require('crypto').randomBytes(48).toString('hex')