GitXplorerGitXplorer
d

16ate

public
1 stars
0 forks
8 issues

Commits

List of commits on branch master.
Unverified
99ddd75b3a09c3925e7938a1d319349f9e5e1d6d

use the plural module and move to stylus

ddalmaer committed 11 years ago
Unverified
97c624ea3cead75f1359d0874c84f219f36a39d1

switch out CSS to stylus

ddalmaer committed 11 years ago
Unverified
a8f0c13fb436543fb20f89597d03ba103bd5c2c2

nicer checks now in coffeescript land

ddalmaer committed 11 years ago
Unverified
5e8cc93d065d5d833c00049517c32e165ab41ed5

no need for those files now chaps

ddalmaer committed 11 years ago
Unverified
7b3c7ab90e02428f936ed39804761e362891668c

no need for the js now

ddalmaer committed 11 years ago
Unverified
6adebc6d4ee161f912a68fed2b402c474aa564c4

Create unit tests for the plural side of things

ddalmaer committed 11 years ago

README

The README file for this repository.

16ate is a trivial tool to track intermittant fasting

The key to the technique is having a small window of consecutive hours of consuming whole foods with a large window where you are not (water, coffee, etc though!)

Fasting states

There are two main states:

  • Fasting
  • Eating

You will either want to get information:

  • "How long until I can eat again?" (shift from fasting to eating)
    • If you are trying to just reach your goal
  • "How many hours have I been fasting?" (shift from fasting to eating)
    • Unlike the above, you may be looking to push yourself beyond just the goal
  • "How long have I been in the eating phase?" (shift from eating to fasting)
    • You often want to keep to a short eating phase to help you with the next fasting period
  • "If I started to fast now, what would my goal next eating time be?"
    • If you want to get a feel for timing. E.g. you have a lunch meeting the next day, so if you start now you can hit that time

Or you will be performing an action to change the state of the application. The only way to do this is to tap on the main button:

  • "My First Meal": tap this to shift from fasting to eating
  • "My Last Meal": tap this to shift from eating to fasting

Color

I would like to use color to signal information to the user.

In the fasting state the number of hours will change colors:

  • Green: you have reached your goal, any additional hours are now gravy!
  • Yellow: you are within 8 hours of your goal
  • Red: you are more than 8 hours out from the goal

In the eating state the number of hours will change colors:

  • Green: you are within the (24-$GOAL) number of hours zone (e.g. with a goal of 16, you are within 8 hours of when you started)
  • Yellow: you are past the ideal state
  • Red: you are 8 hours past the ideal state (stop eating! ;)

More info on fasting

TBH

Branches

TBH

Directory Structure

  • build: where files temporarily live during build phase (e.g. concat js before min)
  • components: where bower components live
  • static: where files end up to be served
  • templates: where handlebars templates live

Deployment

If you want production mode on remember to (once only)

heroku config:set NODE_ENV=production --app ate16