FIT.IA: AI Powered Workout & Nutrition Assistant
Integrated system leveraging generative AI to structure personalized diets and workout plans through an intuitive user interface.
The problem
Fitness enthusiasts often struggle to create and adapt workout and nutritional plans tailored to their specific fitness goals in an accessible manner.
Engineer consistent prompt structures and sanitize LLM outputs to guarantee predictable, typed data schemas for the frontend.
Decisions
Schema Validation & Sanitization
Strict validation of model output payloads before returning data to the client, preventing UI layout breaks from malformed responses.
Tradeoff: Additional retry overhead if response violates expected schema.
Strict Client Server Decoupling
Express backend encapsulates API keys and prompt engineering logic, isolated from client side visibility.
Tradeoff: Need to manage asynchronous network latency states in the UI.
Outcome
Complete application delivering automated, personalized workout routines and nutritional guidance based on individual profiles and goals.