适用于遵循正规计划的用户的健身追踪器。多周计划、逐组记录、动作替换、休息计时器以及每项动作的力量趋势。
AI 翻译
A workout tracker for people following a real program. Multi-week programs, set-by-set logging, exercise swaps, a rest timer, and strength trends per exercise.
健康TypeScript · VueGitHub @DarthSaul在线运营者未确认
试用过了吗? 点一下就好,无需登录。
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Nuxt app for gym routines and workouts. Nitro server, Vue PWA. Separate iOS app repo: https://github.com/DarthSaul/fitness-tracker-mobile-app
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
A mobile-first workout tracker for structured training programs. The project ships as two clients backed by a single Nuxt 4 / Nitro server:
• Web PWA — installable on desktop and mobile browsers at drdumbbell.app.
• Native iOS app — SwiftUI client in a separate repo: DarthSaul/fitness-tracker-mobile-app.
Status: Registration is open — anyone can create an account with Google, Apple, or email. This repo is published for portfolio and reference purposes, not for self-hosting.
Current phase: Phase 3.5 — Native iOS Client. See CLAUDE.md for the full roadmap.查看完整 README ↗A mobile-first workout tracker for structured training programs. The project ships as two clients backed by a single Nuxt 4 / Nitro server:
Status: Registration is open — anyone can create an account with Google, Apple, or email. This repo is published for portfolio and reference purposes, not for self-hosting.
Current phase: Phase 3.5 — Native iOS Client. See
CLAUDE.mdfor the full roadmap.
| Client | URL / Repo | Auth | Notes |
|---|---|---|---|
| Web PWA (desktop + mobile browsers) | drdumbbell.app | Cookie session (nuxt-auth-utils) | Installable as a PWA on iOS/Android/desktop |
| Native iOS (SwiftUI) | fitness-tracker-mobile-app | JWT (Bearer access + refresh) | Sign in with Apple (primary), Sign in with Google (secondary) |
fitness-app.me is the legacy domain: its web pages redirect to drdumbbell.app, while its /api/** is still served in place for iOS builds that predate the move.
Both clients talk to the same Nitro API hosted on Vercel. The server is the single source of truth for programs, sessions, and user progress.
┌──────────────────────┐ ┌──────────────────────┐
│ Web PWA │ │ iOS SwiftUI app │
│ drdumbbell.app │ │ (separate repo) │
│ cookie session │ │ JWT Bearer │
└─────────┬────────────┘ └──────────┬───────────┘
│ │
└────────────┬───────────────────┘
▼
┌──────────────────┐
│ Nitro API │
│ (Nuxt 4, Vercel)│
└────────┬─────────┘
▼
┌──────────────────┐
│ PostgreSQL │
│ (Supabase) │
└──────────────────┘
A single server/middleware/auth.ts guard handles both client types:
Authorization: Bearer <token>, the middleware verifies the JWT access token (HS256 via jose).nuxt-auth-utils.Either path resolves the same event.context.userId, so route handlers don't need to know which client called them.
Native sign-in endpoints under /api/auth/native/ accept platform identity tokens from the iOS SDK (Apple / Google), verify them against the issuer's JWKS, and return a { accessToken, refreshToken } pair. Refresh tokens are stored as SHA-256 hashes in the RefreshToken table and can be rotated and revoked.
nuxt-auth-utils (cookie sessions) + jose (JWT for native)@vite-pwa/nuxtfitness-tracker/
├── app/ # Vue pages, components, composables, layouts (Nuxt 4 app dir)
├── server/
│ ├── api/ # Nitro API routes (auto-registered)
│ ├── middleware/ # Auth guard, etc.
│ └── utils/ # Prisma client, JWT, JWKS, APNs, rate limiting
├── prisma/ # Schema, migrations, seed data
├── public/ # Static assets, PWA icons
└── nuxt.config.ts
A more detailed breakdown — including the API surface and database schema — lives in CLAUDE.md.
Requirements: Node 20+, pnpm 10+, a Postgres database (Supabase recommended).
pnpm install
cp .env.example .env # then fill in secrets — see .env.example for descriptions
pnpm prisma migrate dev # apply migrations
pnpm prisma db seed # load Brick House program + exercises
pnpm dev # http://localhost:3000
Useful scripts:
| Command | What it does |
|---|---|
pnpm dev | Start the Nuxt dev server |
pnpm build | Build for production |
pnpm preview | Preview the production build locally |
pnpm test | Run the Vitest unit suite |
pnpm test:watch | Vitest in watch mode |
pnpm test:coverage | Vitest with V8 coverage report |
See .env.example for the full list of environment variables (Supabase, OAuth, JWT secrets, APNs keys, Upstash Redis, etc.).
The API is documented with Scalar. With the dev server running, the OpenAPI reference is available at /_scalar (configured in nuxt.config.ts).
The app deploys to Vercel from main. Environment variables for Supabase, OAuth, JWT, APNs, and Upstash must be configured in the Vercel project settings before deploys will succeed.
See LICENSE.