Coder Social home page Coder Social logo

benefitness's People

Contributors

rvna avatar

Watchers

 avatar  avatar

benefitness's Issues

User estimates calories

As a user,
When I fill out the log workout form,
And I click the button that says "Estimate" next to the calories burned form,
Then I will see an estimate of the number of calories I have burned based on the distance, duration, and activity of my workout

Admin logs in

As an admin,
when I go to the home page
and I enter my email and password
And I click "log in"
Then I will see the admin dashboard

User makes their stats private

As a user,
When I go to my account page,
and I click the slider next to "show my stats on the leaderboard"
And I go to the leaderboard
Then I will not see myself.

Admin creates event

As a admin
When I go to the page for a team,
and I click the button "Create Event"
And I fill in the name, location, time, and date
And I click "Create Event"
Then I will go back to the team show page
And I will see the event I created

User updates workout

As a user,
When I go to "my workouts"
And I click on a workout
Then a button will appear under that workout to "update"
When I click that button
Then I will see a form similar to the create workout form
When I fill in a new distance
And I click "update workout"
Then I will be taken to my workouts
With that workout updated

Admin deletes team

As an admin,
When I go to my dashboard
Then I see each team with a button to disband
When I click that button
Then I will stay on the same page
And "(disbanded)" will be next to the team name
And users on that team can no longer log in

User logs in

As a user,
When I go to the home page
And I enter my email and password
And I click login
Then I will see my dashboard

User views own workouts

As a user
When I go to my dashboard
And I click "My workouts"
Then I will see a list of workouts that I have done in the last week with the activity, distance, duration, and calories burned
And I will see a summary of the week with a distance for each activity, a total time, and a total number of calories burned

Admin creates team

As an admin,
When I go to my dashboard
And I click "Create Team"
And I enter the name of a team in the text field
And I press the "Create" button,
I see a code for that team.

User makes their activity private

As a user
When I go to my account page
And I click the slider next to "Allow my team to view my workouts"
And I go to the team page
Then I will not see my workouts

Admin sees team events

As an admin
When I go to my dashboard,
I see a list of teams that are links
When I click on the first team
Then I will see all events for that team

User sees events

As a user,
When I go to my dashboard
And I click "Calendar"
Then I will see a list of events for my team
With the name, date, time and location

User syncs with Strava

As a user,
When I go to my account page
And I click on "Sync with Strava"
And I log in to strava
And I click "Authorize application"
Then I will see my dashboard with the words "linked with strava" under my name

User syncs with Fitbit

As a user,
When I go to my account page
And I click on "Sync with Fitbit"
And I log in to fitbit
And I click "Authorize application"
Then I will see my dashboard with the phrase "linked with fitbit" under my name

Admin blocks user

As an admin,
When I go to the show page for a team
I will see a list of all members on that team
With a button to "block" next to each of them
When I click that button,
I will be on the same page
And "(blocked)" will appear next to the user's name
And the user will no longer be able to log in

Admin updates an event

As an admin,
When I go to the show page for a team
Next to each event I will see a button to update event
When I click that button
And I enter a new location
And I click "Update Event"
Then I will see the team show page
With the updated event

User logs workout

As a user
When I go to my dashboard
And I click "log workout"
And I select an activity
And I select a date
And I enter a distance
And I enter a duration
And I enter the calories burned
And I click "Add workout"
Then I will see my workouts
With the workout I just logged

Guest creates account

As a guest,
When I go to the home page
And I click "Create Account"
And I enter my name, email, password, and team code
And I click "Create"
Then I will be taken to my dashboard

User sees leaderboard

As a user,
When I go to my dashboard
And I click "Leaderboard"
Then I will see the starting date of this week and the name of my team
And I will see the top 5 people on my team ranked by time spent exercising this week
And I will see a short breakdown of how much time they spent on each activity

User logs in with Fitbit

As a user,
When I go to the home page
And I click "Log in with Fitbit"
Then I will be redirected to Fitbit's website
And when I log in to Fitbit
And I click "Authorize Application"
Then I will see my dashboard on benefitness

User deletes workout

As a user
When I go to my workouts page
And I click on a workout
Then a button to delete will appear under the workout
When I click that button
Then I will stay on the same page
And that workout will be deleted

User views their account

As a user,
When I click on "My account"
Then I see my full name
And the team that I am a member of

User logs out

As a user
When I click log out from any page
Then I am taken to the home page
With an option to log in

User views team workouts

As a user
When I go to my dashboard
And I click "My team"
Then I will see a feed of activities from people on my team
With the person's avatar, their name, their activity, and the distance

User gets activities from Fitbit

As a user
When I log in
And I have an account linked with Fitbit
And I click on my workouts
I will see all activities I had logged on Fitbit since my last benefitness login

User updates their account

As a user
When I go to my account page
And I click update account
And I enter a new address in the email field
And I click update account
Then when I log out
I can log back in with my new email address

Admin deletes an event

As an admin
When I go to the show page for a team
Then I will see a button to "delete" next to each event
When I click that button
Then I will be on the same page
And I will not see that event

User reacts to team workouts

As a user
When I view team workouts,
I see a button to react under each workout
When I click that button,
And I select an emoji
Then I will see that emoji underneath the workout

Admin resets team code

As an admin,
When I go to my dashboard
Then I see each team with a button to "reset code"
When I click that button
Then I see a new code
And guests can no longer create accounts using the old code

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.