Coder Social home page Coder Social logo

fitlit's Introduction

Fit Lit

Turing School of Software & Design - Mod 2

Table of Contents

Abstract

Fit Lit is a fitness application designed to keep track of and display a user's fitness data. The user fills out profile information which is stored on their account and displayed on page load. Also displayed on page load is a variety of fitness information organized into categories of steps, hydration and sleep. The steps section displays the user's step goal in comparison to the aggregate step goal of all users on Fit Lit. The Hydration section displays the user's daily water consumption, their daily consumption as a proportion of FitLit's recommended water intake, and their water consumption over the previous week. The Sleep section displays the user's number of hours slept and sleep quality for the day, averaged for the week, and charted daily for the previous week. The display of all of this information is responsive to view on a desktop, tablet or mobile device.

Technologies

  • Javascript (vanilla)
  • HTML
  • CSS
  • Mocha/Chai
  • eslint
  • Chart.js
  • figma.com (used to build wireframe)

Code Architecture

  • OOP Principles
  • Vanilla JavaScript
    • Array Iterator Methods
  • Separate JavaScript files
    • User/UserRepository
    • Hydration/HydrationRepository
    • Sleep/SleepRepository
    • API call function
    • Scripts.js - all DOM related work

Illustrations

recording (5)

Install + Setup

  • To download and use Fit Lit, you can fork and/or clone it to your local machine.
  • Navigate (cd) into the new directory.
  • Enter the following command to open Fitlit in your browser - open dist/index.html
  • OR visit our deployed Fit Lit page - here

Contributors

Wins

  • Effective and efficient testing for all JavaScript classes, methods and properties
  • Separation of Data Model versus DOM
  • Demonstrate several examples of using dynamic, DRY code
  • Learning our first library, Chart.js

Challenges + Improvements

  • We ran into design challenges in making the page responsive.
  • We had some difficulties with the styling of the charts in Chart.js
  • For future Iterations:
  • We would like to add the ability for a user to pick the date they can see information for. Currently the user's page starts at the current date only.
  • We would like to add additional data related to the user's daily activity
  • We would like to add ability for the user to interact with other users - friendly competitions, leaderboards, more comparative stats, etc.

Project Specs

  • The project spec & rubric can be found here

fitlit's People

Contributors

maeduphorne avatar e-spitz avatar robbiejaeger avatar hannahhch avatar brittanydionigi avatar khalidwilliams avatar dependabot[bot] avatar

fitlit's Issues

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.