Coder Social home page Coder Social logo

basic-exercise-app's Introduction

Basic Exercise App Case Study

Exercise list Feature Specs

Story: User requests to see their exersice list

Narrative #1

As an online user
I want the app to automatically load my exersice list
So I can know what is my next exercise set

Scenarios (Acceptance criteria)

Given the customer has connectivity
 When the customer requests to see their exercise list
 Then the app should display the latest exercise list from remote
 
 Given the customer has connectivity
 And the user already added some exercises to favorites
 When the customer requests to see their exercise list
 Then the app should display the latest exercise list from remote in addition to favorite state for each exercise.

Story: User started training session

Narrative #1

As an online user
When the user taps on `Start training` button
I want the app to start the training session 
And automaticlly switch to next exercise after 5 seconds

Scenarios (Acceptance criteria)

Given the customer has connectivity
 When the customer requests to see their exercise list
 Then the app should display the latest exercise list from remote
 
 Given the customer has connectivity
 When the customer tapped on start training button
 Then the app should display the exercise set image from remote in addition to favorite state for each exercise.

Payload contract

GET

2xx RESPONSE

[
  {
    "id": 1,
    "name": "Exercise name",
    "cover_image_url": "https://image_url.png",
    "video_url": "https://video_url.mp4"
  },
  {
    "id": 2,
    "name": "Exercise name",
    "cover_image_url": "https://image_url.png",
    "video_url": "https://video_url.mp4"
  },
]

App Architecture

basic-exercise-app's People

Contributors

ahmad-atef avatar

Watchers

 avatar

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.