Skip to content

raman976/GYM-trainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Glo

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.


Features

  • 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.

Tech Stack

  • 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

Getting Started

To get started with Glo, follow these steps:

  1. Clone the repository:

    git clone https://github.com/raman976/GYM-trainer.git
    cd GYM-trainer
    
  2. Install backend dependencies:

    cd Backend
    npm install
    
  3. Set up environment variables:
    Create a .env file in the Backend directory with the following content:

    MONGODB_URI=your_mongo_db_connection_string
    JWT_SECRET=your_jwt_secret
    AI_API_KEY=your_ai_api_key
    
  4. Install frontend dependencies:

    cd ../frontend
    npm install
    
  5. Start the backend server:

    cd ../Backend
    npm start
    
  6. Start the frontend server:

    cd ../Frontend
    npm run dev
    
  7. Access the app:
    Open http://localhost:5173 in your browser.


Features in Detail

  • 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.


Deployment

  • Frontend: Deployed on Vercel for fast and scalable hosting.
  • Backend: Deployed on Railway for seamless backend hosting and API management.

Contributing

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!

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published