AWS Builder Center
Weekend Annoying Task Challenge: FitIntelligence Lite

Weekend Annoying Task Challenge: FitIntelligence Lite

FitIntelligence Lite is an AI-powered fitness coach that analyzes workout form from a single image using Amazon Bedrock and provides instant, personalized feedback.

Building an AI Fitness Coach with Amazon Bedrock to Improve Workout Form

Working out alone has one major downside—you rarely know if you're performing an exercise correctly. Whether it's a squat, push-up, or deadlift, poor form can reduce effectiveness and even lead to injuries. While personal trainers solve this problem, they aren't always accessible or affordable for everyone.
To tackle this everyday annoyance, I built FitIntelligence Lite, an AI-powered fitness assistant that analyzes workout form from a single image and provides personalized feedback within seconds. Alongside form analysis, the application also includes a lightweight gym check-in system, allowing users to maintain a simple attendance history.
The primary objective of this project wasn't to build a production-scale fitness platform, but to create a focused tool that solves one repetitive problem using AWS services while keeping the architecture simple, deployable, and practical.



Vision & What the App Does

FitIntelligence Lite was designed around a simple idea: make workout feedback accessible to anyone with a smartphone.
Instead of recording videos or wearing tracking devices, users simply upload a photo of themselves performing an exercise and choose the exercise type. The application then uses Amazon Bedrock (Nova Lite) to analyze the image and generate structured feedback, including:
  • An overall workout score
  • Strengths in the user's posture
  • Mistakes detected
  • Suggestions for improvement
  • Recommendations for the next workout
Every analysis is stored so users can revisit their progress over time.
The application also provides a simple gym check-in feature where users upload a selfie to record their visit, creating a lightweight workout history without requiring authentication or complicated setup.



How I Built It

The goal throughout development was to keep the application lightweight while demonstrating meaningful AWS integration.
The frontend was built using React, Vite, and Tailwind CSS, focusing on a clean and responsive interface. The backend uses Node.js with Express, exposing a small set of APIs responsible for handling image uploads, AI inference, and workout history.
When a user uploads an exercise image:
  1. The frontend sends the image to the backend.
  1. The backend uploads the image to Amazon S3.
  1. The same image buffer is encoded and sent directly to Amazon Bedrock.
  1. Bedrock analyzes the workout and returns structured JSON feedback.
  1. The analysis results are stored in Amazon DynamoDB.
  1. The frontend presents the results in an organized dashboard.
One implementation detail I found particularly useful was reusing the same uploaded image buffer for both Amazon S3 storage and Bedrock inference, eliminating unnecessary downloads and reducing processing overhead.
During development I encountered several practical challenges, including HTTPS communication between the frontend and backend, reliable JSON responses from the language model, and deployment issues while hosting the application on AWS. These were resolved by introducing Amazon API Gateway as a secure proxy, refining the Bedrock prompt for consistent JSON output, and improving the deployment workflow for AWS Amplify and EC2.



AWS Services Used

This project intentionally uses several AWS services, each responsible for a specific part of the workflow.
  1. Amazon Bedrock (Nova Lite): Amazon Bedrock powers the AI fitness coach. The Nova Lite multimodal model analyzes uploaded workout images and generates structured feedback, making it possible to perform image understanding without building a custom computer vision pipeline.
  1. Amazon S3 : Every uploaded workout image and gym check-in photo is securely stored in Amazon S3. This keeps uploaded media separate from the application while allowing efficient retrieval when displaying workout history.
  1. Amazon DynamoDB: Workout analyses and attendance records are stored in a DynamoDB table using a simple single-table design, allowing the application to retrieve previous analyses quickly.
  1. Amazon EC2 : The Express backend runs on an Amazon EC2 instance, providing the API responsible for processing uploads, communicating with Bedrock, and interacting with AWS services.
  1. Amazon API Gateway: API Gateway provides an HTTPS endpoint that securely forwards requests from the frontend to the backend running on EC2.
  1. AWS Amplify: The React frontend is deployed using AWS Amplify, making deployment fast while automatically serving the application over HTTPS.
Together, these services create a lightweight yet fully functional cloud-native application.



Architecture Overview

The application follows a straightforward request flow.
  1. Users interact with the React application hosted on AWS Amplify.
  1. Requests are sent securely through Amazon API Gateway.
  1. The backend running on Amazon EC2 processes uploaded images.
  1. Images are stored in Amazon S3.
  1. The image is simultaneously analyzed using Amazon Bedrock.
  1. AI results are stored in Amazon DynamoDB.
  1. The processed response is returned to the frontend and presented to the user.



Architecture Diagram


A clean architecture diagram illustrating the interaction between AWS Amplify, API Gateway, EC2, Amazon Bedrock, Amazon S3, and DynamoDB.



What I Learned

This challenge reinforced an important lesson: meaningful applications don't need complex architectures.
Some of my biggest takeaways include:
  • Using Amazon Bedrock's multimodal capabilities to analyze images without requiring a dedicated computer vision model.
  • Designing reliable prompts that consistently return structured JSON suitable for application logic.
  • Building an end-to-end cloud application using multiple AWS services while keeping the overall architecture simple.
  • Understanding how Amazon API Gateway can simplify secure communication between frontend and backend services.
  • Learning how DynamoDB's flexible schema makes it ideal for rapidly building MVPs.
Most importantly, I realized that focusing on solving one specific user problem often creates a more useful application than attempting to build a feature-heavy platform.



Try It Yourself



Building FitIntelligence Lite was a great opportunity to explore how Amazon Bedrock and other AWS services can be combined to solve a practical, everyday problem with a simple yet effective architecture. Rather than focusing on complexity, this project demonstrates how AI-powered cloud services can quickly transform a repetitive task into an intelligent user experience.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article