Code Monkey home page Code Monkey logo

not-so-jumbo's Introduction

comp20-s2016-team2

Not so Jumbo

Donna Chen, Brendan Fahey, Harrison Kaiser, Jordan Nagy

Problem Statement

For when you need to lose some pounds (or a lot) from all your late night pizza runs and mounds of snacks.

Solution

A application that will allow you to set goals to stay healty and lose weight (be jumbo no more!).

Features

1. Server-side data persistence: This allows the user to log in and keep track of their goals. Any foods that they have eaten lately can be inputted and stored to their account. Recent data will be translated into user-understandable graphs.

2. Front-end Framework Using Bootstrap: provides template for us to work on.

3. Sends Emails: notifies the user when goals have expired and to set a new goal.

4. Charts and Graphs: will display the progress for the week (i.e. how many calories, protein, fat, etc. you have consumed). 

Data Collected and Used

1. The dining hall menus (ingredients and nutritional information) from Team 3's API. 

2. The nutrition information from certain items on the menus was hardcoded into the database as this is only a prototype and 
we did not have enough time to implement full data scraping from the Tufts Dining site. 

3. The nutrition database from the USDA.

APIs

1. USDA food database: contains a nutrition database for foods not in the dining hall. Users can search for foods and calories,
proteins, sugar, etc, can be added to their progress.

2. Google Charts API: displays charts for your progress in completing goals.

3. Tufts Dining API (created by Team 3): sends the entire menu from a specified dining hall. 

4. Facebook API: user can login with their Facebook account.

Algorithms

We will need to calculate total nutritional information for the week in terms of calories, fat, and protein. We have an event 
listener that goes through the database each morning and resets all users' data for the current day. We also check whether a user 
has entered an email and whether it has been more than a week since they set their goal. If both are true and an email hasn't already
been sent, they will recieve a reminder email from [email protected].

Future Implementations

In the future, we plan to fully implement data scraping the nutritional information from the Tufts Dining Site so that the user 
may input foods from the different dining halls, which will then added to the database. Also, we could implement more security. 
As of now, we have sanitized the data but more could be done. 

Mockups

Home Page Food Entry Page Progress Display for the Week Allows User to Update Goal User's Home Page

#Comments by Ming

  • Generally a good idea. Scraping menus from the Tufts Dining website can be a challenge. I never heard of FatSecret but cool that it exists!
  • 15 / 15

##NOTE: The amount of pushes does not reflect relative work! Brendan pushed a lot early on and then he became the only one that could push to both GitHub and Heroku. We passed a lot of code around on Google Docs and one person would copy-paste it into a file before pushing it, and that person was usually Donna or Brendan. Most of the code that we wrote was done together in Halligan and in Dewick and discussed between everyone.

##References:

Team 3 Dining API: https://piazza.com/class/ij0y3zcyi0g1pc?cid=252. Thank you for creating this API. It was very helpful for this project.

StackOverflow: for miscellaneous debugging.

Piazza: for specific help.

API and package documentation: for specific help pertaining to the APIs and packages.

not-so-jumbo's People

Contributors

bmfahey avatar jnagy01 avatar uwaces avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.