Giter Site home page Giter Site logo

fitlit's Introduction

FitLit Starter Kit

Abstract

FitLit revolutionizes the way you track your wellness journey! Behold the ultimate visual activity tracker, where style and sophistication meet data logging. With a captivating interface and seamless user experience, this remarkable app empowers you on your path to unparalleled health and vitality. Brace yourself for a mind-blowing summary of your activities, hydration, and sleep data that sparks inspiration and fuels your desire for a healthier, happier you. Here at FitLit, every step is a step in the right direction.

Server Setup

  • Fork this repository.
  • Clone it to your local machine using the command: git clone [email protected]:turingschool-examples/fitlit-starter-kit.git.
  • Run the command: cd fitlit-api
  • Run the command: npm install
  • Run the command: npm start

Client App Setup

  • Clone it to your local machine using the command: git clone [email protected]:apete12/fitlit.git
  • Run the command: cd fitlit
  • Run the command: npm install
  • Run the command: npm start

Preview of App

Context

We completed this project from week 2 to week 4 in Mod 2 of the Front End development program at Turing School of Software & Design. We are a 4 group of front-end developers who worked together remotely via zoom to complete this application. Approximately 80 hours was spent on this project between team members.

We used HTML, CSS and JavaScript written in the code editor VS Code with Webpack installed. GitHub was used to store, manage, and collaborate on code so that we could all work on our local machines. We also utilized a shared GitHub project board to keep track of issues.

We wrote our HTML with the smallest skeleton possible. CSS rules are written in order of the HTML skeleton. JavaScript functions were split into different files for easy readability. Testing was implemented with the Mocha framework and Chai library.

Contributors

  • Scotty Brown - 2305 FE Mod 2 student at Turing School for Software and Design
  • Prissilla Escobar - 2305 FE Mod 2 student at Turing School for Software and Design
  • Alexandra Peterson - 2305 FE Mod 2 student at Turing School for Software and Design
  • Adrian Zabolitzki - 2305 FE Mod 2 student at Turing School for Software and Design

Learning Goals

  • Use object and array prototype methods to perform data manipulation
  • Understand the use of Webpack
  • Implement fetch API
  • Use Mocha framework with Chai library for TDD
  • Create a project that is easily readable with separate files that store functions for DOM manipulation, data model, helper, api calls and scripts
  • Collaborate productively and professionaly as a team
  • Utlizie localStorage to save user data outside of page refresh

Wins + Challenges

  • A challenge that we encountered immediately upon starting the project was navigating where to put each different type of code, specifically in terms of importing/exporting variables and functions. This project ended with about 13 files across 3 different directories, and learning how to import/export data from each file was a challenge. We also had difficulty with separating all DOM functions and variables from our data model functions, which consistently produced a document error in the terminal. After research and seeking out mentor support, we learned how and why DOM and data model functions should exist across different files to avoid errors.
  • A challenge we encountered was utilizing promises and fetch calls in order to make network requests and manipulate data. We aimed to incorporate DRY JS that followed SRP, and navigating these principles was a challenge for 4 fetch requests. We overcame this challenge by researching promise.all() and seeking support from mentors. Ultimately, we implemented these concepts effectively, efficiently, and with understanding of the functionality.
  • We used webpack for the first time to bundle ESM and common JS which helped us understand the necessity and functionality.

Future Features

  • User login added
  • User will see if their step count, hydration consumption, activity or sleep is below average
  • User can choose a different color gradient for the app
  • User will be able to input and store log entries
  • Sort, delete, extend notes by date and activity
  • Add user login functionality
  • Add progress charts
  • Allow for user to input all types of data - sleep, hydration, etc.

Resources

Josh Comeau's custom CSS Reset is being used to ensure that the app is more clean and will lead to a better user experience.

fitlit's People

Contributors

apete12 avatar scotty-brown avatar prissilla-escobar avatar ganuza avatar robbiejaeger avatar niksseif avatar hannahhch avatar brittanydionigi avatar khalidwilliams avatar hfaerber avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

fitlit's Issues

Users sleep - quality

-Return a user’s sleep quality for each day over the course of a given week (7 days)
-this function should be able to calculate this for any week, not just the latest week

Step Goal Comparison - DOM

As a user, I should be able to see how my step goal compares to the average step goal amongst all users (this display should not be hard-coded)

Return floz for week

Return how many fluid ounces of water a user consumed each day over the course of a week (7 days)

Daily Ounces

Return the user's average fluid ounces consumed per day for all time.

Users sleep - hours

-Return how many hours a user slept each day over the course of a given week (7 days)
-This function should be able to calculate this for any week, not just the latest week

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.