Lift-Tracker

command module
v0.0.0-...-5e12a80 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2025 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Lift-Tracker

Webapp (and maybe mobile in the future) for tracking lifting progress.
It uses a Postgresql database, Golang web-server, and React frontend scaffolded with Vite.

ToDo

Backend

  1. Setup config file for db urls, server port, etc
  2. Editing logs/templates
  3. Deleting logs/templates
  4. Templates/Logs
    • How to keep track of order of exercises/setgroups
      • Maybe keep workout id and delete/redo everything every time a workout is modified
  5. Remove exType images for now
  6. Better "enums" for PPLTypes and MuscleGroups (custom enum implementation?)
    • Potential Issues
      1. Being able to convert any string into a PPLType or mscgrp / use ones other than consts defined in types a. fixed for pplType and mscgrp
      2. Creation of eTypes allowing any string to be decoded from JSON into a pplType or mscgrp a. only an issue if allow custom exercise type creation
  7. Finish musclegroups

Frontend

  1. Make a select exercise component that can be put in a modal to show a nice list of each exericse type and return the chosen exercise type to the parent component.
  2. Refactor workout form for adding logs
Notes
  1. Workout Form (1 form component, 1 configurable route component, 4 actual routes) configurable for: a. Add/Edit Workout Template b. Add/Edit Workout Log
    • Log has:
      • setgroups have weight
      • Notes on each exercise
      • Notes on log
      • Date on log
    • Also need to add buttons to remove and exercise and setgroup inputs from the form
  2. Combine routes WorkoutTemplates and WorkoutHistory into one modular component
    • At least the headers, maybe make bodies into separate components (wTemps are displayed as cards, wLogs as a vertical list)

Long term

  1. Custom exercise types
  2. Email verification
  3. Password recovery
  4. Stat tracking, graphs, etc.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址