Giter Club home page Giter Club logo

fitlit's Introduction

FitLit Health Tracker

A paired project by Sarah Fitzsimons and Michann Stoner. Original project spec can be found here.

Description

FitLit is the beginning of a fitness/health tracking application. It is intended to help users track their:

  • Activity
  • Hydration
  • Sleep
  • Steps

Users will see a daily overview for each category, displayed in their dashboard. Users are also able to see more detailed information and averages for a specific week, or see how their data compares to their friends and all other users (friendly competition only!).

Main View & Dashboard Display

View Friends Feature

iPhone X View

Setup

  1. Fork this repository.
  2. clone down to your local machine.
  3. cd into repository.
  4. Run open index.html in your command line.

For running tests in Sleep.js, please comment out the if block around these lines of code, like so:

//if (typeof module !== 'undefined') {
  const dayjs = require("dayjs");
  const isSameOrBefore = require('dayjs/plugin/isSameOrBefore');
  const isSameOrAfter = require('dayjs/plugin/isSameOrAfter');
  dayjs.extend(isSameOrBefore);
  dayjs.extend(isSameOrAfter); 
//}

OR

Click here to view the deployed site.

Technologies

  • JavaScript
  • HTML
  • CSS
  • Day.js
  • Mocha & Chai

Project Wins & Challenges

Wins

For this project, something that we considered to be a win was installing and using day.js. This was the first time we were introduced to using packages in projects! Sarah was able to get it working in our Class files and on the DOM. Another thing we consider to be a win is having our wireframe and final product be very similar to each other. We stuck with our initial plan and were able to execute it how we had initially visualized. We also enjoyed having several opportunities to use our new array iterator methods.

Challenges

Some challenges we encountered in the project also had to do with using packages. We would have liked to have had time to experiment using something like chart.js to display all of our user's information and comparisons, resulting in a more cohesive page design with less text. We also ran into some issues with day.js not working well with other libraries.

Future Project Iterations

  • Implement additional packages such as Chart.js to display information on the back of widget cards.
  • More consistency in our use of packages - using Day.js throughout all classes.
  • Display more detailed information on friends - creating (healthy) competitions or displaying other relevant information.

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.