November 2023 Lead Developer

Terrafit

With TerraFit, users can generate personalized workouts tailored to their available equipment and goals. By combining curated exercise data with AI-generated plans, TerraFit helps anyone train smarter and build confidence in the gym.

ReactNode.jsOpenAI APIJavaScript / TypeScriptREST APIsFigma (UI/UX Design)
Terrafit

Inspiration

Many people feel intimidated when starting their fitness journey. New gym-goers often don’t know which exercises to perform, how to structure workouts, or whether they are using proper form.

While many fitness apps exist, they often require expensive subscriptions, rely heavily on personal trainers, or provide generic workout plans that don’t adapt to the equipment available to the user.

TerraFit was created to solve this problem by providing personalized workout plans powered by AI, allowing users to generate workouts tailored to their available equipment, goals, and schedule.

What It Does

TerraFit is an AI-powered fitness application that helps users generate customized workout routines.

Key features include:

  • AI-generated workout plans based on available equipment and user preferences
  • A searchable exercise database with curated workouts
  • The ability for users to save favorite workouts
  • Leaderboards and engagement features to encourage consistency
  • Post-workout feedback to help users track progress

The long-term vision for TerraFit includes more advanced features such as:

  • Scanning available gym equipment
  • Uploading videos for AI-assisted form analysis
  • Real-time coaching feedback

How We Built It

TerraFit was built as a full-stack web application combining AI-generated content with traditional web technologies.

Frontend

  • React-based web interface
  • Dynamic UI for generating and customizing workouts
  • Figma wireframes and high-fidelity prototypes for UX design

Backend

  • Node.js backend services
  • API endpoints for workout generation and user data
  • Integration with the OpenAI API to generate structured workout routines

Data Layer

  • A curated exercise database used to help guide workout recommendations
  • Stored exercise metadata including muscle groups, equipment requirements, and difficulty levels

The application combines structured exercise data with AI generation to create workouts that are both personalized and practical.

Challenges We Ran Into

One of the biggest challenges was integrating AI-generated content into a structured workout system.

Unlike traditional applications, TerraFit needed to ensure that:

  • AI responses were structured and usable
  • Generated workouts were safe and realistic
  • Exercises matched the equipment available to the user

Because this project was built during a hackathon, another challenge was implementing these systems within a limited timeframe while several team members were learning new technologies.

Accomplishments We're Proud Of

  • Building a working AI-powered workout generation system
  • Designing a full-stack architecture with frontend, backend, and exercise database
  • Successfully integrating the OpenAI API into the product workflow
  • Creating a foundation for future features such as equipment scanning and AI form feedback

Most importantly, we built a tool aimed at making fitness more accessible and less intimidating for beginners.

What We Learned

Through building TerraFit we learned:

  • How to integrate AI APIs into real applications
  • Designing systems that combine structured data with AI-generated content
  • Full-stack collaboration across frontend, backend, and design
  • Rapid prototyping and product development during a hackathon environment

What’s Next for TerraFit

Future improvements for TerraFit include:

  • Computer vision features to scan gym equipment
  • AI-powered form analysis using video uploads
  • Improved workout generation using structured prompts and exercise constraints
  • Mobile app support

The long-term goal is to build a platform that acts as a personal AI fitness coach, helping users train more effectively regardless of their experience level.