Coder Social home page Coder Social logo

fitlit's People

Contributors

demaceo avatar jwoltjen avatar peytonjo avatar

Stargazers

 avatar

Watchers

 avatar

fitlit's Issues

Sass

  • Refactor existing CSS into Sass.

  • Sass should have:

  • variables for colors, fonts, etc.

  • nesting (when/where appropriate).

  • color functions for ensuring a cohesive color scheme.

  • at least one mixin, function or extends.

  • Break Sass into separate files:

  • index.scss (should import partials)

  • variables.scss (contains all Sass variables or function definitions)

  • Identify common/re-used elements to determine remaining partials.

Widgets display

As a user, I should be able to see:

  • Widgets for the following:
  • Display the amount of water the user consumes daily,
  • Display the amount of water consumed over the past week.

Hydration.js TDD

As a developer, I should create a series of tests for each property and method in the Hydration.js class:

  • a test that verifies that Hydration has a userID property
  • a test that verifies that Hydration has a date property
  • a test that verifies that Hydration has a number of ounces property

Create tests for User.js methods

As a developer, I should create a series of tests for each method that lives in the User.js class:

  • It should be able to show the user his or her first name
  • It should be able to update the user's hydration data by date
  • It should be able to update the user's sleep data by data
  • it should be able to display the user's average weekly sleep hours
  • it should be able to display the user's average weekly sleep quality
  • it should be able to show the user the day they climbed the most amount of stairs
  • it should be able to show the user's calories consumed by date
  • it should be able to show the user's average minutes of activity by week
  • it should be able to show the user's average steps taken this week
  • it should be able to show the user's average number of flights of stairs taken per week by date;
  • it should be able to show the user's trending step days;
  • it should be able to show the user's trending stair days;
  • it should be able to display their friends' names;
  • it should be able to find the total total steps taken this week;
  • it should be able to find friends Total Steps for a Week

Class Refactoring

  • Refactor within your classes to create dynamic methods that use arguments/parameters for changing their behavior.
  • Refactor across your classes to create a parent class that others inherit methods from.

Create tests for Sleep.js class properties

As a developer, I should create a series of chai tests for each property in the sleep class:

  • it should return a userID
  • it should have a date
  • it should have hoursSlept for the date
  • it should have a sleepQuality property for a given date

create a userRepository

As a developer, I should create a userRepository that does the following:

  • it should hold all of the user Objects

  • it should pass in a parameter that takes in all user data

  • it should return a user's data when the userID is passed in as a parameter

  • it should be able to calculate the average step goal amongst all the users.

Iteration 2

  • Create Hydration Card
  • Average daily fluid consumption in ounces per user ID
  • Calculate fluid ounces consumed by date per user ID
  • Calculate the amount of fluid ounces consumed each day for a week

Hydration Class

As a developer, I should be able to,
see have a Hydration class that holds methods to calculate:
Average daily fluid consumption in ounces per user ID,
fluid ounces consumed by date per user ID,
the number of fluid ounces consumed each day for a week.

User Repository TDD Methods

The User Repository should have tests which verify it can do all of the following:

  • It should find a user by ID
  • it should calculate all users' average step goal
  • it should calculate all users' average sleep quality
  • it should calculate all users' average steps by date
  • it should calculate all users' stairs climbed by date
  • it should calculate the average minutes active for all users by a certain date
  • it should calculate the average daily water intake for all users by date
  • it should be able to return the sleeper with the highest quality of sleep of all users by date
  • it should be able to return the sleeper with the longest hours slept by all users
  • it should return the worst sleepers in terms of quality by a given date.

Score ~90% on an Accessibility Audit

  • You must score as close to 100% in an Accessibility Audit as possible. Be prepared to explain any accessibility audits your application is failing.

create User Class

As a developer, I should be able to see a user class,
the user class should have a parameter to take in userData Object,
User class should have a method that should return the users first name only

DRY code

  • Identify redundant code in your classes & opportunities for DRYing it up.

IDK JEFF HELP

As a user, I should be able to:

  • Find the average number of hours
  • Slept per day,
  • Average sleep quality per day overall time,
  • Hours slept for a specific date,
  • Sleep quality for a specific day.

Create tests for the User.js class properties

As a developer, we should create tests for each property and method in the class:

  • it should have a userID;
  • it should have a name;
  • should have an address;
  • it should have an email
  • it should have a stridelength
  • it should have a daily step goal
  • it should have totalStepsThisWeek;
  • it should have a list of friends;
  • it should have an ounces average;
  • it should have an ounces record;
  • it should have an hoursSleptAverage;
  • it should have an average sleep quality;
  • it should have a sleepHours record;
  • it should have a sleep quality average;
  • it should have an activity record;
  • it should have an accomplishedDays property;
  • it should have a trendingStepDays property;
  • it should have a trendingStairsDays property;

Create variables.scss file

  • refactor css into a series of scss files
  • create a variables.scss file to store all the variables used in the styling

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.