A modern fitness application built with React and Vite, featuring exercise database and video search functionality powered by RapidAPI.
- 🏋️ Browse thousands of exercises with detailed information
- 🎯 Filter exercises by body part, equipment, and target muscles
- 🎥 Watch related exercise videos from YouTube
- 📱 Fully responsive design with Material-UI
- ⚡ Fast development and build with Vite
- React 18 - Frontend library
- Vite 7 - Build tool and dev server
- Material-UI (MUI) - Component library
- React Router - Navigation
- RapidAPI - Exercise data and YouTube search
- Node.js 16+
- npm or yarn
- RapidAPI account (for API keys)
-
Clone the repository
git clone https://github.com/techgirldiaries/TheFitLife.git cd TheFitLife -
Install dependencies
npm install --legacy-peer-deps
-
Configure environment variables
cp .env.example .env
Then edit
.envand add your RapidAPI key:VITE_RAPID_API_KEY=your_api_key_here
Get your API key from RapidAPI
-
Start development server
npm run dev
The app will open at
http://localhost:3000
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production build
⚠️ Never commit your.envfile - it contains sensitive API keys- ✅
.envis already in.gitignore - ✅ Use
.env.exampleas a template for required variables - 📝 See SECURITY_SETUP.md for detailed security information
This project uses two RapidAPI endpoints:
- ExerciseDB - Exercise database with 1000+ exercises
- YouTube Search - Find related exercise videos
Licensed under the PolyForm Noncommercial License - Commercial use is prohibited
Copyright (c) 2025 Oluwakemi Obadeyi
