Open http://localhost:3000 with your browser to see the result.
SkyFitnessPro is a Next.js application for online fitness courses, workouts, and progress tracking.
npm install
Development mode:
npm run dev
Production build:
npm run build
npm run start
Lint:
npm run lint
Tests:
npm test
The app uses BASE_URL for API requests.
Example:
BASE_URL=https://wedev-api.sky.pro
The project uses Jest for unit tests.
Test files:
API calls are located in \services\.
The app uses a shared pattern:
This is applied to:
app\courses\main\page.tsx: Main pageapp\courses\course\[id]\page.tsx: course pageapp\courses\workouts\[course]\page.tsx: workout selection pageapp\courses\workout\[id]\page.tsx: workout pageapp\courses\profile\page.tsx: profile pagecomponents\AuthModal: auth modalcomponents\FitnessCourse: course cardcomponents\FitnessCourseBottom: lower block on course cardcomponents\SelectWorkouts: workout pickercomponents\Workout: workout exercises and progresscomponents\ProgressModal: progress entry modalstore\store.ts: Redux store setupstore\features\AuthSlice.ts: auth statestore\features\CourseSlice.ts: course statelocalStorage.