https://twitter.com/kauresss/status/1167195585381687296

Introduction to Instructions 🦄 🗂️

Hi! Let's leap into this project! The project is meant to take the long way i.e. be redundant so no unnecessary shortcuts are taken. Verbose/redundancy is good for learning and to quicken the process of customizing this project to make it your own, without having to guess why I did something in a particular manner.

Get it up and running on localhost first.

Step 0: Download and unzip the project folder 🗂️

  1. For simplicity sake unzip the folder to the Desktop

Step 1: Start the server 🖥

After you download and unzip the project folder:

  1. In your terminal
  2. $ cd to-location-of-project-folder (example cd Desktop/simplyauth_customer if you unzipped the folder onto your Desktop)
  3. $ npm install or if using yarn then $ yarn install
  4. $ nodemon
  5. $ node app.js (if nodemon does not start the server for you)

Step 2: Edit 📝 config.js inside the 📁 bin folder

  1. In this step you will edit the config.js file to put in your own API client/secret keys:
module.exports = {
MongoURI:"Your cloud mongoDB connection string",
sendGridAPI:"Your SendGrid API client key",
  jwtSecret: "Make something up",
  sessionSecret: Make something up",
  RECAPTCHA_SITE_KEY: "Your Google recaptcha v3 Site Key",
  RECAPTCHA_SECRET_KEY: "Your Google recaptcha v3 Client Secret"
};

Further instructions:

  1. MongoURI: Watch this short tutorial to get your connection string: https://www.youtube.com/watch?time_continue=28&v=Ej05tq1220A
  2. sendGridAPI: sign up for an account on https://www.sendgrid.com then from your dashboard choose: