https://twitter.com/kauresss/status/1167195585381687296
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.
After you download and unzip the project folder:
$ cd to-location-of-project-folder
(example cd Desktop/simplyauth_customer if you unzipped the folder onto your Desktop)$ npm install
or if using yarn then $ yarn install
$ nodemon
$ node app.js
(if nodemon does not start the server for you)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: