WebNest
Team/Md Shanto Ali/Assignment-06

Repository

Assignment-06

View on GitHub ↗
TypeScript★ 0 stars⑂ 0 forksassignment-06-sigma-five.vercel.app ↗

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

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

  1. Responsive 12-workout library with API data, loading states, and offline fallback data.
  2. Sorting by duration, calories, or rating directly inside both My Plan tabs.
  3. Detailed workout pages with tags, specifications, instructions, and mutually exclusive plan/save actions.
  4. Persistent Today's Plan and Saved collections with synchronized navbar counters and duplicate protection.
  5. Five-workout plan cap, tab-specific live exercise/minute/calorie metrics, colorful mark-as-done, and remove actions.
  6. Toast feedback for every meaningful action and disabled duplicate controls.
  7. 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.

← Back to profile