40 lines
2.5 KiB
Markdown
40 lines
2.5 KiB
Markdown
# Exercise Tracker project overview
|
|
|
|
This document contains stable, repository-supported project information. See `CURRENT_STATE.md` for current status and `HANDOFF.md` for recent replaceable context.
|
|
|
|
This is a newly initialized repository. The user calls the planned product "Workout Tracker"; the repository directory remains `exercise-tracker`.
|
|
|
|
## Product
|
|
|
|
Planned: a personal, offline-first workout tracker with seven-day date navigation; exclusive Morning and Afternoon views; strength sets, repetitions, and weight components; daily isometrics and hanging practice; separate walk logging; Monday/Friday stretching; exercise details and local illustrations; rest, EMOM, and hold timers; workout history and progress; editable routines; JSON backup and restoration; and responsive mobile and desktop layouts. No product behavior is implemented. `docs/SPEC.md` defines application behavior and `docs/WORKOUT_ROUTINE.md` defines the authoritative initial programme.
|
|
|
|
## Technology and architecture
|
|
|
|
The application foundation now uses React, Vite, and React-Bootstrap. IndexedDB is planned for persistent local storage in TASK-005. The application has no backend, authentication, or cloud dependency.
|
|
|
|
The planned design keeps routine templates, exercise definitions, historical workout records, and UI state separate. The initial routine is bundled as versioned seed data; subsequent user edits are local data and must not be overwritten by updates. A storage adapter separates React components from IndexedDB. A service worker and locally bundled assets are required for offline reload in the release scope.
|
|
|
|
## Repository structure
|
|
|
|
- `AGENTS.md` — repository agent instructions and context-system version marker.
|
|
- `docs/` — project overview, current state, decisions, tasks, and handoff.
|
|
- `docs/SPEC.md` — application requirements and behavior.
|
|
- `docs/WORKOUT_ROUTINE.md` — authoritative initial training programme.
|
|
- `src/` — React shell, local styling, and shell test; future domain, storage, timer, and view code will be added here.
|
|
- `package.json` — development, test, lint, and build commands.
|
|
|
|
## Development environment
|
|
|
|
Use Node.js 20.19 or newer. Run `npm install`, `npm run dev`, `npm test`, `npm run lint`, and `npm run build` from the repository root.
|
|
|
|
## Production/deployment architecture
|
|
|
|
No deployment architecture is defined or verified.
|
|
|
|
## Documentation map
|
|
|
|
- Current status: `docs/CURRENT_STATE.md`
|
|
- Accepted decisions: `docs/DECISIONS.md`
|
|
- Active scope: `docs/TASKS.md`
|
|
- Recent handoff: `docs/HANDOFF.md`
|