Coder Social home page Coder Social logo

wajeht / gains Goto Github PK

View Code? Open in Web Editor NEW
6.0 0.0 0.0 27.3 MB

All in one tools to help strength athletes load the right amount of training dosage!

Home Page: https://gains.jaw.dev/

License: GNU General Public License v3.0

JavaScript 37.51% Vue 60.90% HTML 0.64% Shell 0.06% Makefile 0.12% SCSS 0.78%
fitness powerlifting tracker workout bodybuilding gains bench deadlift squat vue

gains's People

Contributors

dependabot[bot] avatar killythebid avatar renovate[bot] avatar wajeht avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

gains's Issues

Task Subtasks

Task requirements that can be broken down into subtasks

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: Cannot find preset's package (local>wajeht/renovate-config)

delete all todos

There should be a button to delete all todos

assignment

  • make a new function called deleteAllTodo()
  • assign it a clear button
  • send a pull request when it is done and close this issue

sql for queuing our current session format

Been playing around with how to get the query to look like our JSON format for current session details.

const currentSession = {
  name: 'upper body',
  weight: 185,
  black: 'intro block',
  start: '11/11/22',
  end: '11/11/22',
  caffeine: 135,
  rpe: 8,
  logs: [
    {
      id: 1,
      name: 'close grip bench press',
      sets: [
        {
          reps: 10,
          weight: 245,
          rpe: 7,
          notes: 'easy',
        },
        {
          reps: 11,
          weight: 225,
          rpe: 8.5,
          notes: 'heavy',
        },
      ],
      notes: 'this exercise',
    },
    {
      id: 2,
      name: 'high bar squat',
      sets: [
        {
          reps: 10,
          weight: 245,
          rpe: 7,
          notes: 'easy',
        },
        {
          reps: 11,
          weight: 225,
          rpe: 8.5,
          notes: 'heavy',
        },
      ],
      notes: 'this exercise',
    },
  ],
};

Finally found a way to query it from the database

select
	ss.*,
	row_to_json(data) as "logs"
from (
	select
		e.*,
		array_agg(json_build_object('reps', s.reps, 'weight', s.weight, 'rpe', s.rpe, 'notes', s.notes)) as "logs"
	from
		sets s
		inner join sessions ss on ss.id = s.session_id
		inner join exercises e on e.id = s.exercise_id
	group by e.id
) as data
inner join sessions ss on data.id = ss.id

PostgreSQL is awesome yo!

login page

TODO

Make a login card using the following requirements.
look up bootstrap docs for cards, and form-inputs.
look up inspiration from google images

only use this if you cannot figure out -> prime.jawstrength.com/login

  • email input
  • password input
  • remember me check box
  • reset password link
  • login button

fast duplication of a set

when creating a new set, you must manually re-enter the new value. usually, reps are the same as the previous one, and the weight is somewhat similar. we should have a button that can auto-duplicate

image

sign up page

Make a signup card using the following requirements.
look up bootstrap docs for cards, and form-inputs.
look up inspiration from google images

only use this if you cannot figure out -> https://prime.jawstrength.com/signup

email input
username input
password input
signup button

signup with google
signup with github

id should be an integer

when adding new todo items, the id of new todo item returns with a floating point number. it should be an integer instead

assignment

  • change id to integer
  • send a pull request when it is done and close this issue

note title/body

assuming the note title will be lifts we can populate the title and allow a large box with some pre filled data to

HighBar Squats ------- 6/19/2022
Reps
Weight
RPE
Total Squat Volume as of 6/19/2022

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

docker-compose
docker-compose.dev.yml
dockerfile
Dockerfile.dev
Dockerfile.prod
github-actions
.github/workflows/CI.yml
  • actions/checkout v3
  • actions/setup-node v3
  • actions/checkout v3
  • actions/setup-node v3
  • actions/checkout v3
  • actions/setup-node v3
  • actions/checkout v3
  • docker/setup-buildx-action v2
  • docker/login-action v2
  • docker/build-push-action v4
  • caprover/deploy-from-github v1.1.2
npm
package.json
  • @formkit/auto-animate ^0.7.0
  • @fortawesome/fontawesome-svg-core ^6.2.0
  • @fortawesome/free-brands-svg-icons ^6.2.0
  • @fortawesome/free-regular-svg-icons ^6.2.0
  • @fortawesome/free-solid-svg-icons ^6.2.0
  • @fortawesome/vue-fontawesome ^3.0.1
  • @popperjs/core ^2.11.6
  • @vitejs/plugin-vue ^4.0.0
  • adm-zip ^0.5.9
  • animate.css ^4.1.1
  • axios ^1.0.0
  • bcryptjs ^2.4.3
  • bootstrap ^5.1.3
  • bootstrap-icons ^1.10.5
  • bull ^4.10.0
  • chalk ^5.0.0
  • chart.js ^3.9.1
  • compression ^1.7.4
  • cookie-parser ^1.4.6
  • cors ^2.8.5
  • dayjs ^1.11.5
  • discord.js ^14.0.0
  • dotenv ^16.0.3
  • ejs ^3.1.8
  • express ^4.18.2
  • express-jsdoc-swagger ^1.8.0
  • express-rate-limit ^6.6.0
  • express-validator ^7.0.0
  • filesize ^10.0.0
  • fluent-ffmpeg ^2.1.2
  • helmet ^7.0.0
  • html-minifier ^4.0.0
  • http-status-codes ^2.2.0
  • ioredis ^5.2.3
  • jsonwebtoken ^9.0.0
  • knex ^2.4.0
  • knex-paginate ^3.0.1
  • lodash-es ^4.17.21
  • marked ^7.0.0
  • minimist ^1.2.6
  • multer ^1.4.5-lts.1
  • node-cron ^3.0.2
  • nodemailer ^6.8.0
  • papaparse ^5.3.2
  • pg ^8.8.0
  • pinia ^2.0.23
  • pinia-plugin-persistedstate ^3.0.0
  • pino ^8.6.1
  • pino-pretty ^10.0.0
  • read-pkg ^8.0.0
  • request-ip ^3.3.0
  • socket.io ^4.6.1
  • socket.io-client ^4.5.2
  • supertest ^6.3.0
  • useragent ^2.3.0
  • uuid ^9.0.0
  • vite ^4.0.0
  • vue ^3.2.37
  • vue-chart-3 ^3.1.8
  • vue-query ^1.26.0
  • vue-router ^4.1.5
  • @commitlint/cli ^17.1.2
  • @commitlint/config-conventional ^17.1.0
  • @faker-js/faker ^8.0.0
  • @fullhuman/postcss-purgecss ^5.0.0
  • @types/compression ^1.7.2
  • @types/cookie-parser ^1.4.3
  • @types/cors ^2.8.12
  • @types/jsonwebtoken ^9.0.0
  • @types/lodash-es ^4.17.6
  • @types/multer ^1.4.7
  • @types/papaparse ^5.3.5
  • @types/request-ip ^0.0.38
  • @vitest/coverage-v8 ^0.34.2
  • c8 ^8.0.0
  • commitizen ^4.2.5
  • concurrently ^8.0.0
  • cz-conventional-changelog ^3.3.0
  • eslint ^8.48.0
  • eslint-config-prettier ^9.0.0
  • eslint-plugin-prettier ^5.0.0
  • eslint-plugin-vue ^9.9.0
  • husky ^8.0.1
  • nodemon ^3.0.0
  • open-cli ^7.1.0
  • postcss ^8.4.17
  • prettier ^3.0.0
  • sass ^1.66.1
  • sleep-ms ^2.0.1
  • standard-version ^9.5.0
  • vite-plugin-eslint ^1.8.1
  • vitest ^0.34.2
nvm
.nvmrc
  • node 19.9.0

  • Check this box to trigger a request for Renovate to run again on this repository

Key rings

Most gyms offered some type of code to be able to scan to get through the gym. We should have some type of option to be able to store within the app.

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.