Skip to content

Repository files navigation

TrendWeight

TrendWeight tracks weight trends, smoothing daily fluctuations so changes over time are easier to see. It supports manual readings, scale imports, charts, sharing, CSV downloads, and a personal API.

This repository contains the React/TypeScript frontend and ASP.NET Core backend. They build into one Docker image backed by Supabase PostgreSQL and Clerk login. Withings and Fitbit integration code lives here; Fitbit syncing can be disabled by the deployment while retaining imported history.

Run it locally

You need Node 26, the .NET 10 SDK, and development Supabase and Clerk configuration. Start with local setup, which covers credentials, the database, and provider callbacks. An npm install alone does not configure these services.

git clone https://github.com/ervwalter/trendweight.git
cd trendweight
npm ci
dotnet restore apps/api/TrendWeight.sln

After configuring your environment, run these in separate terminals:

npm run -w apps/web dev  # http://localhost:5173
npm run -w apps/api dev  # http://localhost:5199

npm run dev starts both through tmuxinator if tmux and tmuxinator are installed.

Contributor documentation

  • Setup: local environment, database, authentication, and scale linking.
  • Architecture: code map, data flow, and implementation constraints.
  • Testing: full checks, focused tests, and coverage.
  • Deployment: container configuration, DigitalOcean, and release checks.
  • AGENTS.md: coding conventions and agent instructions.

Before committing, run npm run check && npm run test. CI also checks formatting with npm run check:ci.

Please open an issue to discuss substantial contributions before implementing them.

License

MIT.

Contributors

isab3l
Isabel
jamesstanleystewart
James
MitjaBezensek
Mitja Bezenšek
Jah-yee
RoomWithOutRoof

About

Source for https://trendweight.com

Resources

Stars

41 stars

Watchers

3 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages