Giter VIP home page Giter VIP logo

workout.dev's Introduction

Introduction to Workout App

The Workout App aims to assist you in tracking and charting your workout progress over time. The collaboration between the App and its accompanying API enables seamless management and tracking of user data and exercises.

Understanding The App Structure

API Details

The API, programmed in PHP, resides in the /api folder, which is at the root of the application. It serves as a central handler for user and exercise data and plays an integral part in the app's functioning.

User Interface and Navigation

Our user interface is clean and straightforward, ensuring easy navigation through different pages.

Authentication - Login Page

The app initiates at the Login Page ('/'), which authenticates your/user credentials before granting access to further app functionalities such as the Workout page.

Workout Tracking - Workout Page

The workout page (/go) stands at the core of the app's functionality. It not only allows you to compose a workout using available exercises but also effectively runs the workout, thereby making your workout experience smooth and personalized.

workout.dev's People

Contributors

hamdle avatar

Watchers

Lucian avatar James Cloos avatar  avatar

workout.dev's Issues

As a user I would like the ability to edit workouts

Description

After completing a workout there is no way to fix mistakes or add info to the description.

Solution Ideas

Add Edit button to the list of workouts on the Dashboard page that takes user to workout edit page.

Refactor theme

Find CSS framework to replace handwritten styles and re-do pages to use new theme.

Refactor database design to support system customization and user configuration

Database

  • add log table, log type table
  • rename tables to be camel case
  • add system user as user id 1
  • add userId to exercises (and workout?) table(s)
  • add configuration table (WO's version of conf_Common) that includes: ref, data, userId, active
  • add indexes
  • add foreign key constraints
  • add active to any tables where it makes sense; Users, Exercises, config tables

PHP

  • add logger class to php to log events (login, logout, workout)
  • revise php code to use new camel case table names
  • revise exercise and workout queries to include current user and user id 1

Script

  • install sql
  • update sql
  • dump .sh script
  • import .sh script
  • readme

If I accidentally double click on Next exercise the exercise is skipped with no way to go back

Description

I accidentally double clicked on Next exercise button and skipped an exercise. There was no way to undo and I almost ended the workout early on accident. Also, the exercise that was skipped were set to default values instead of 0 or null.

Screenshot from 2023-05-10 12-40-07
Screenshot from 2023-05-10 12-40-13

Solution Ideas

  • check to make sure an amount of time, at least 2-3 seconds, has passed before accepting click
  • check to see if all input boxes are filled (but this will not work on warmup which has no input boxes)
  • allow edit of finished exercises

Clean up /api

This used a submodule but is not part of the project.

Remove

  • /.idea
  • /scripts (could be moved)
  • /docker

Update

  • readme.md

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.