Glo is an AI-powered fitness companion web app designed to provide personalized fitness support, including a diet planner, workout planner, exercise library, and AI-driven recommendations. Built with React, styled-components, Node.js, Express, and MongoDB, the app offers a seamless and secure user experience across all devices.
- Diet Planner: Generate personalized diet plans with AI assistance.
- Workout Planner: Create customized workout routines tailored to user preferences and goals.
- Exercise Library: Access a comprehensive library of exercises with detailed tutorials and videos.
- AI Integration: AI-powered recommendations for both diet and workout plans.
- User Authentication: Secure login and signup system using JWT tokens.
- Frontend: React, styled-components
- Backend: Node.js, Express
- Database: MongoDB
- AI: Integrated AI-driven features for personalized fitness plans
- Authentication: JWT-based user authentication
- Deployment:
- Frontend: Vercel
- Backend: Railway
To get started with Glo, follow these steps:
-
Clone the repository:
git clone https://github.com/raman976/GYM-trainer.git cd GYM-trainer -
Install backend dependencies:
cd Backend npm install -
Set up environment variables:
Create a.envfile in theBackenddirectory with the following content:MONGODB_URI=your_mongo_db_connection_string JWT_SECRET=your_jwt_secret AI_API_KEY=your_ai_api_key -
Install frontend dependencies:
cd ../frontend npm install -
Start the backend server:
cd ../Backend npm start -
Start the frontend server:
cd ../Frontend npm run dev -
Access the app:
Open http://localhost:5173 in your browser.
-
Diet Planner:
Generates a custom diet plan based on user goals and preferences, including macronutrient breakdown and food suggestions. -
Workout Planner:
Personalized workout routines generated by AI, considering fitness level and goals (e.g., muscle building, weight loss). -
Exercise Library:
Categorized exercises by muscle group, each with detailed video tutorials. -
Authentication:
Secure sign up and login. User data is protected using JWT-based session management.
- Frontend: Deployed on Vercel for fast and scalable hosting.
- Backend: Deployed on Railway for seamless backend hosting and API management.
Contributions are welcome!
- Fork the repository
- Create a new branch for your feature or fix
- Submit a pull request
Please follow coding conventions and add tests for any new features.
Current date: Wednesday, April 23, 2025, 12:21 AM IST
Feel free to reach out with suggestions or issues. Your feedback helps improve Glo!