Skip to content

Repository files navigation

Simple exercise tracker (Set)

Screenshot of the app

Set is a Web application that users can use to track their exercises over time.

Features:

  • Sign-in with Github
  • Users can define their own exercises with various "parameters": weight, distance, duration, etc.
  • Users can log sets of exercises on a daily basis.
  • Mobile-friendly UI with dark mode support.

I'm building this app live on stream at https://twitch.tv/LukeTurnerSWE.

Local development

Dependencies:

  • Git
  • Bun
  • Podman/Docker

To get started contributing to Set, you need to clone it and run initial setup commands:

git clone https://github.com/luketurner/exercise-tracker.git
bun install
bun run db:create
bun run migration:run

Then, to run the app in development mode, you need the Postgres server, the client code bundler, and the Express server running:

bun run db:start
bun run client:dev
bun run dev

Then you can visit the app at http://localhost:3000.

Deploy it yourself

Set is built for deployment on Fly.io. Follow these steps to deploy it yourself.

  1. Change the app name in the fly.toml to something unique.
  2. Run flyctl launch. Deploy with a Postgres instance when prompted.
  3. Add secrets: BETTER_AUTH_SECRET, GITHUB_CLIENT_ID, and GITHUB_CLIENT_SECRET.
  4. Update the client/main.js file to use your DNS name.

About

A simple exercise tracking webapp

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages