Coder Social home page Coder Social logo

fitlit's Introduction

Fitlit

Abstract

Ever wanted to track and maintain your own sleep and hydration data? Use this repo to help you do just that! This was a group project assigned by the Turing School of Software and Design. This was a fitness tracking application which utilized a variety of technologies, including javaScript, HTML, CSS, Mocha, and Chai. The three members of our group have completed just 25% of the Turing curriculum, primarily focusing on vanilla JS to this point. The project was completed in two individual one week pushes. The project goals were to: implement ES6 classes that communicate to each other as needed, use object and array prototype methods to perform data manipulation, create a dashboard that is easy to use and displays information in a clear way, write modular, reusable code that follows SRP, implement a robust testing suite using TDD, make network requests to retrieve data, and ensure that our app follows best practices for accessability.

User login

2022-09-19 14 50 56

Display view and data entry

2022-09-19 14 54 49

Dynamic charts for user data

2022-09-19 14 57 43

Setup

Repo starter kit

  1. Within your group, decide on one person to have the project repository (repo) on their GitHub account. Then, that person should fork this repo - on the top right corner of this page, click the Fork button.
  2. All remaining members of the group should clone down the forked repo. Since you don't want to name your project "activity-tracker-starter", you can use an optional argument when you run git clone (you replace the [...] with the terminal command arguments): git clone [remote-address] [what you want to name the repo]
  3. Once you have cloned the repo, change into the directory and install the project dependencies. Run npm install to install project dependencies.
  4. Run npm start in the terminal to see the HTML page (you should see some boilerplate HTML displayed on the page). Control + C is the command to stop running the local server. Closing the terminal without stopping the server first could allow the server to continue to run in the background and cause problems. This command is not specific to Webpack; make note of it for future use.
  5. Make sure both members of your team are collaborators on the forked repo.
  6. Do not run npm audit fix --force. This will update to the latest version of packages. We need to be using [email protected] which is not the latest version. If you start to run into Webpack errors, first check that all group members are using the correct version.

Login

  1. To login to the dashboard view for a user, please use the current username and password format.

username: user50 (where 50 is the ID of the user, users 1 - 50 should be acccessable)

password: fitlit2022

Testing

There is no boilerplate for testing in this starter-kit repo. You will need to set this up yourself. However, if you ran npm install, then the tooling you need to start testing is already installed (mocha and chai).

Project Specs

The project specs and rubric for Fitlit Part I can be found here

The project specs and rubric for Fitlit Part II can be found here

Technologies Used

Challenges

  • TDD and Class Architecture
  • Event Delegation
  • Nested Data
  • Post Calls

Wins

  • API calls
  • Dynamic functions created to stick to SRP and get rid of unecessary code
  • Accessibility
  • Collaboration
  • API calls

Future Extensions

  • Implement animation using CSS
  • Refactor existing CSS of our App to Sass

Contributors

fitlit's People

Contributors

crpearce avatar dsweeny1 avatar bethwprojects avatar niksseif avatar robbiejaeger avatar hannahhch avatar brittanydionigi avatar khalidwilliams avatar hfaerber avatar dependabot[bot] avatar

fitlit's Issues

render allTimeAverageOunces() to DOM

  • double check the functionality of the code for allTimeAverageOunces() in the hydration repository class (working in test file but value rendering to the page is 0

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.