HoopBuddy is a personalized basketball workout assistant that generates custom training plans based on your position, skill level, and availability.
- Personalized workout plans tailored to your position, level, and training goals
- AI-powered exercise recommendations using Google's Gemini API
- Interactive UI with multi-step form and animated transitions
- Responsive design that works on desktop and mobile
- Node.js 16.x or higher
- NPM or Yarn
- A Gemini API key from Google AI Studio
- Clone the repository
git clone https://github.com/Aparajith24/hoop-buddy.git
cd hoopbuddy- Install dependencies
npm install
# or
yarn install- Set up environment variables
Create or modify the.env.localfile in the root directory:
GEMINI_API_KEY=your_gemini_api_key_here
npm run dev
# or
yarn devOpen http://localhost:3000 in your browser to see the application.
-
Users fill out a multi-step form with their:
- Name and age
- Playing position
- Weekly availability
- Skill level
- Areas they want to improve
-
The form data is sent to our backend API endpoint
-
The backend communicates with the Gemini API to generate a personalized workout plan
-
The workout plan is displayed to the user with a day-by-day breakdown of exercises
- Next.js
- React
- TypeScript
- Tailwind CSS
- Framer Motion
- Gemini API (Google Generative AI)
MIT