Skip to content

AugustinSorel/gym-graphs

Repository files navigation

Gym Graphs

Gym Graphs allows users to track their gym progress with the help of graphs. The app allows users to add new exercises, organize their exercises with a dashboard and add new data for each exercises. The app will calculate an estimate one rep max given the number of repetitions and the weight lifted.

Demo

Image

home page of Gym Graphs

Structure

├── apps
│   ├── api          #Hono backend API
│   └── web          #Tanstack start frontend
├── package.json
├── packages
│   ├── constants    #Global constants
│   ├── db           #Global drizzle db
│   └── schemas      #Global zod schemas
├── pnpm-lock.yaml
├── pnpm-workspace.yaml
├── README.md
└── tsconfig.json

Setup

git clone https://github.com/augustinsorel/gym-graphs.git
cd gym-graphs
cp ./apps/api/.env.example ./apps/api/.env

Dev

pnpm i
pnpm dev

Prod

docker build --target api --tag gym_graphs_api .
docker build --target web --tag gym_graphs_web .
docker build --target migration --tag gym_graphs_migration .

docker run  --name gym_graphs_migration --rm --env-file=./packages/db/.env --network gym-graphs_backend gym_graphs_migration

docker run -p 5000:5000 --name gym_graphs_api --rm --env-file=./apps/api/.env gym_graphs_api
docker run -p 3000:3000 --name gym_graphs_web --rm  gym_graphs_web

About

Gym Graphs allows users to track their gym progress with the help of graphs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages