Skip to content

A health index and caloric intake logging app. Password-protected user profile and health data is secured.

License

Notifications You must be signed in to change notification settings

RU3YKat/fitness-app

Repository files navigation

KiloCalorie Application

KiloCalorie Deploy on Heroku

Description

An express.js application using mySQL and Sequelize database structures. Users can create and store profiles containing their personal health goal indices alongside a log of their daily meals with calorie intake calculations.
User data is secured with their passwords at login.

Table of Contents

To use KiloCalorie, visit the deployed application at KiloCalorie Deploy on Heroku. The repository can also be cloned onto your local machine, and requires the install of node.js, mySQL and npm packages. Follow instructions on node.js website and mySQL site, then by running the following from your CLI in the cloned repository's folder:

> npm i

After establishing your mySQL user settings, setup the database via the following:

> USE calorie_tracker_db;
> source db/schema.sql;
> exit;

Create a .env file in the root of your new app folder and enter:

DB_NAME='calorie_tracker_db'
DB_USER='< your mysql username >'
DB_PW='< your mysql password >'

DB_SECRET='< your chosen cookie secret text >'

Run your local KiloCalorie by executing npm start from the command line.

KiloCalorie Landing Page
The landing page for KiloCalorie. Click the Go! button to begin!

KiloCalorie Login and Register Page
On the login and register page, users must first register with their personal health information and goals. All future visits will require a login.

KiloCalorie Application Page
Once in the calorie tracking section, a user can add, update, and delete daily food items. All added food items are added to the daily calorie total and displayed at the bottom of the screen. The logout button allows the next user to create their personal profile and begin adding their own protected health information and daily caloric intake.

This project was created using MIT license.

This is an open source project.

Future deployments to calculate BMI, track health data, and apply data gathered from wearables is forthcoming.

To test the program, please follow above Installation guide.

This program was created by:
Brandon Pena on Github
Sunita Maharaj Persad on Github
ru3ykat on Github
Vanessa Sylverain on Github

About

A health index and caloric intake logging app. Password-protected user profile and health data is secured.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published