Coder Social home page Coder Social logo

health_diet_everyday's Introduction

Health Diet Everyday ๐Ÿ‰

โ€”โ€” Web application keep health ๐Ÿ˜„

<img src="readImg/frontpage1.jpg" width="500โ€œ> <img src="readImg/frontpage2.jpg" width="500โ€œ>

Using ๐Ÿ’ซ

Visit Application homepage on Heroku.
Project Trello

Instructions ๐Ÿ”ง

1. Sign In/Up

First Time Users

First time user must start with Sign up. Please enter your username (Not for login), email address (For login), password (Caution: Password could not be reset or changed! So please memorized it!), and date of birth. These infomation are required to sign up successfully.

Return Users

Sign In with your email and password.

2. Profile :octocat:

After login in, you would be able to view records in profile.

Records ๐Ÿ““

Each record contains data of portions and the date.

  • Create ๐Ÿ‘
  • Click Add Button.
  • Enter the date(Required).
  • Click Create Button.
  • Edit โœ’๏ธ
    The date of record could not be edit.
  • Show ๐Ÿ‘‰
    Click date in list of records or in calendar would both allow you reviewing the record.
  • Destroy ๐Ÿ™…
    Destroy the record would erase ALL portions in that record. BE CAREFUL, such operation could not rollback.

Portions ๐Ÿ”

Each portion contains data of food, the weight of intake and it's parent record's id.

  • Create ๐Ÿ‘
  • Click Add Button.
  • Select food category first.
  • Then select food under that category.
  • Enter the weight intake(Required).
  • Click Create Button.
  • Destroy ๐Ÿ™…
    Click the portion in the table and confirm the execution. As a reminder, this operation could not rollback.

Pie Chart ๐Ÿ“Š

The pie chart indicates the percentage of Calorie contributed by various portions.

<img src="readImg/pieChart.jpg" width="300โ€œ>

Progress Bar

The progress bar notifies the users total calorie intake. The baseline is 2400 kcal as recommended by USDA. The color of progress bar would change.

  • Light blue in normal status:
    <img src="readImg/proBar1.jpg" width="200โ€œ>
  • Yellow in case of approching baseline:
    <img src="readImg/proBar2.jpg" width="200โ€œ>
  • Red in case of exceeding:
    <img src="readImg/proBar3.jpg" width="200โ€œ>

Language/Library Used ๐Ÿ“–

  • HTML5
  • css3/SaSS
  • Bootstrap(v3.2.0)
  • Javascript(ES2015)/Jquery(v3.1.0)
  • Ruby(v2.2.3) on Rails(v4.2.7)
  • PostgreSQL ๐Ÿ˜

Plugins Used

health_diet_everyday's People

Contributors

yuli0109 avatar

Watchers

 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.