An app to make you feel Better
- Setup Node
- Install node
cdinto project folder and runnpm icdinto client folder and runnpm i- run
npm i -G nodemon - Done. Type
npm run devfrom root folder to launch a dev server and react instance.
- Setup MongoDB
- Install mongoDB by following these instructions
- Run
sudo mongodto start a mongo server on localhost
- Create
auth.json- Create a file in the root folder named
auth.json - Put the following text into the json file and replace the all caps placeholders with the correct information
- Create a file in the root folder named
{
"db": {
"ipaddr": "DATABASE_IP_HERE",
"port": DATABASE_PORT_HERE,
"user": "DATABASE_USERNAME_HERE",
"pass": "DATABASE_PASSWORD_HERE"
},
"jwt_key": "JWT_SECRET_KEY_HERE"
}