README
FitLog — Workout Library
FitLog is a responsive, dark-themed workout companion built for focused training. Browse a curated exercise library, inspect clear instructions and workout specs, assemble a five-lift daily plan, save movements for later, and track live workout totals from any device.
Live project
- Production: https://assignment-06-n59foykjr-mdshantoali2023-4234.vercel.app/
- Local development:
http://localhost:3003/
Technologies
- Next.js 15 with the App Router and TypeScript
- React 19 and Context API
- Tailwind CSS
- Font Awesome icons
- React Hot Toast
- FitLog REST API
- Browser
localStorage
Key features
- Responsive 12-workout library with API data, loading states, and offline fallback data.
- Sorting by duration, calories, or rating directly inside both My Plan tabs.
- Detailed workout pages with tags, specifications, instructions, and mutually exclusive plan/save actions.
- Persistent Today's Plan and Saved collections with synchronized navbar counters and duplicate protection.
- Five-workout plan cap, tab-specific live exercise/minute/calorie metrics, colorful mark-as-done, and remove actions.
- Toast feedback for every meaningful action and disabled duplicate controls.
- Screenshot-matched mobile, tablet, and desktop layouts, custom metadata, and a branded 404 page.
Run locally
npm install
npm run dev
Then open http://localhost:3003/.
Production build
npm run build
npm start
Data source
Workout data comes from https://api.abcz.workers.dev/api/fitlog. A matching local fallback keeps the library useful during a temporary API outage.