This is a simple web app implementation of a health and wellness app that lets you track the weight, fat percent, diet notes and exercise notes in an easy form and view the historic data in a line graph.
- Yet to Come Sparate sections for nutrition and exercise.
- Node.js version 4.x or later
- Install Node.js dependencies by running
npm installfrom the project's root folder - Install Postgresql by running
npm install postgresql - Install nodemon by running
npm install -g nodemon
- Make sure you have psql installed by typing
psqlin the terminal. - Run
createDB health_assistin your terminal to create a new database. - Run 'export PGDATABASE=health_assist` to set the default database. You can add this env variable to the .bashrc ro .zshrc.
- Run
psql -f database.sqlto setup the tables.
- Navigate to the projects's root folder: run
npm startorDEBUG=express* npm start - Go to localhost:3000 in your browser