bright-diet

bypushkar uttarrwar

Build a minimal but functional AI-powered app that: • helps users stay disciplined with dieting • estimates calories from user food input • suggests recovery strategies after cheat meals • tracks daily calorie goals The main value proposition is: “Fix your diet instantly after cheat meals.” CORE USER PROBLEM When people eat unhealthy food, they usually feel guilty and abandon their diet. Existing apps like MyFitnessPal require heavy manual calorie tracking. This new app focuses on quick recovery guidance instead of complex tracking. Example user situation: User message: "I ate two slices of pizza." AI response: Estimated calories: 600 Recovery options: Option 1 45 minutes walking Option 2 20 minute HIIT workout Option 3 Reduce dinner carbs by 40g TARGET USERS Primary users: • people trying to lose weight • beginner gym users • people who struggle with diet discipline Age range: 18–40 years old. MVP FEATURES The first version must include these features only. Do not add unnecessary complexity. FEATURE 1 — USER ONBOARDING When the user opens the app for the first time, collect: Age Gender Height Weight Activity level Fitness goal options: Lose weight Maintain weight Build muscle Based on this information calculate: Daily calorie target Example: Daily calorie goal: 1800 calories Store this data in the database. FEATURE 2 — DAMAGE CONTROL AI CHAT This is the main screen. Users type what they ate. Example input: "I ate a burger and fries." The AI should: Estimate calories Compare with user's calorie goal Suggest recovery actions Example response: Estimated calories: 650 Today's calorie status: Consumed: 1450 / 1800 Recovery options: Option 1 Walk 50 minutes Option 2 20 minute cycling workout Option 3 Reduce dinner carbs by 40g Important rules: • Always give 3 recovery strategies • Strategies must include exercise or diet adjustments • Keep responses simple and practical FEATURE 3 — WEEKLY FREE LIMIT Free users should only be allowed: 5 AI queries per week. If limit is reached show message: "You have reached your weekly limit. Upgrade to premium for unlimited AI diet coaching." FEATURE 4 — DIET DASHBOARD Create a dashboard screen showing: Daily calorie target Calories consumed Calories remaining Example display: Daily target: 1800 Consumed: 1300 Remaining: 500 Also show: Discipline score (basic version) FEATURE 5 — PREMIUM SUBSCRIPTION Add a subscription page. Premium benefits: Unlimited AI damage control queries Advanced diet insights Future features like photo food analysis Monthly price placeholder: ₹299 per month Integrate payments using: Razorpay FUTURE FEATURE (DESIGN BUT DO NOT IMPLEMENT YET) AI food photo analysis. User takes a photo of food. AI estimates: Food type Calories Protein Carbs Fat Then updates the user's calorie dashboard. Example output: Detected food: Chicken Burger Calories: 520 Protein: 28g Carbs: 42g Fat: 24g APP SCREENS The app should include these screens: Onboarding screen AI damage control chat screen Diet dashboard screen Premium upgrade screen Keep UI clean and simple. TECH STACK REQUIREMENTS Build the MVP using modern simple architecture. Frontend: React or Flutter Backend: Node.js or Python Database: Supabase or Firebase AI integration: OpenAI API AI PROMPT LOGIC When a user submits food input, send the following prompt to the AI: User fitness goal: {goal} Daily calorie target: {target} Food eaten: {user input} Instructions to AI: Estimate calories of the food. Calculate impact on daily calorie target. Provide 3 practical recovery strategies. Keep response concise. UI DESIGN PRINCIPLES The app should feel: • fast • minimal • friendly Main design focus: Users must be able to enter food and get advice in less than 5 seconds. SUCCESS METRIC Key metric for the MVP: Daily active users using the damage control AI. Goal: Users should interact with the AI multiple times per week. DEVELOPMENT OUTPUT Generate: Full app architecture Database schema API endpoints UI component structure AI integration logic Basic working prototype IMPORTANT DESIGN RULE The product must always feel like: A quick diet recovery assistant, not a complicated fitness tracker. Speed and simplicity are the core value. Final Instruction Build the MVP version first. Focus only on the core experience: User eats something → asks the AI → gets a recovery plan.

No preview

Comments (0)

No comments yet. Be the first!

System Requirements

System Requirement Document

System Requirements Document (SRD) for Bright-Diet

1. Introduction

Welcome to the System Requirements Document (SRD) for Bright-Diet, an AI-powered diet recovery assistant designed to help users stay disciplined with their diet goals. This app focuses on providing quick, actionable recovery strategies after cheat meals, making it easier for users to maintain their fitness journey without guilt or complexity.

Bright-Diet is tailored for users in India (IN), with localized features such as Razorpay integration for subscriptions and calorie tracking suited to common Indian dietary habits. The app is designed to be fast, minimal, and user-friendly, ensuring users can interact with the AI and get recovery advice in less than 5 seconds.

Page 1 of 9

2. System Overview

Bright-Diet is a mobile-first application that leverages AI to provide calorie estimations and recovery strategies based on user input. The app is built for individuals aged 18–40 who are trying to lose weight, maintain weight, or build muscle. The system is designed to:

  • Simplify diet recovery after cheat meals.
  • Provide calorie tracking without heavy manual input.
  • Offer actionable recovery strategies that include exercise and dietary adjustments.
  • Encourage users to stay consistent with their fitness goals.

The system will include the following core components:

  1. User Onboarding: Collect user details to calculate daily calorie targets.
  2. AI Damage Control Chat: The main feature where users input what they ate and receive calorie estimations and recovery strategies.
  3. Diet Dashboard: A visual summary of daily calorie goals, consumption, and remaining calories.
  4. Premium Subscription: Unlock unlimited AI queries and advanced insights via Razorpay integration.
  5. Weekly Free Limit: Restrict free users to 5 AI queries per week.

3. Functional Requirements

Page 2 of 9

Core Features

  • As a User, I should be able to onboard by entering my age, gender, height, weight, activity level, and fitness goal to calculate my daily calorie target.
  • As a User, I should be able to type what I ate and receive:
    • Estimated calories.
    • Comparison with my daily calorie goal.
    • Three practical recovery strategies (e.g., exercise or diet adjustments).
  • As a Free User, I should be limited to 5 AI queries per week and see a message prompting me to upgrade to premium if I exceed the limit.
  • As a Premium User, I should have unlimited AI queries and access to advanced diet insights.
  • As a User, I should be able to view my daily calorie target, calories consumed, and calories remaining on a dashboard.
  • As a User, I should see a basic discipline score on the dashboard to track my diet consistency.
  • As a User, I should be able to upgrade to premium via Razorpay integration.

Future Feature (Design Only)

  • As a User, I should be able to take a photo of my food, and the AI should estimate its calories, protein, carbs, and fat, then update my calorie dashboard.

4. User Personas

Page 3 of 9

1. Free User

  • Description: A casual user exploring the app's basic features.
  • Goals: Track calories and get recovery advice without committing to a subscription.
  • Limitations: Restricted to 5 AI queries per week.

2. Premium User

  • Description: A dedicated user who values unlimited AI queries and advanced insights.
  • Goals: Maximize diet discipline and access premium features for better results.

3. Admin

  • Description: The system administrator managing user data, subscriptions, and app performance.
  • Goals: Ensure smooth app operation and manage user queries.

5. Visuals Colors and Theme

Page 4 of 9

Color Palette

Bright-Diet will use a vibrant and motivating color scheme to evoke energy and positivity:

  • Background: #F7F9FC (Soft White)
  • Surface: #FFFFFF (Pure White)
  • Text: #2C3E50 (Deep Navy)
  • Accent: #FF6F61 (Vibrant Coral)
  • Muted: #BDC3C7 (Light Gray)

This palette ensures a clean, minimal, and modern look while maintaining a friendly and approachable vibe.

6. Signature Design Concept

Page 5 of 9

Interactive Recovery Wheel on the Home Page

The Bright-Diet homepage will feature an Interactive Recovery Wheel — a dynamic, circular interface that visually represents the user's daily calorie status.

  • Design: The wheel will have three segments:

    1. Calories Consumed: Filled in real-time as users input food.
    2. Calories Remaining: A visual reminder of the user's daily goal.
    3. Recovery Options: A clickable section that expands to show the three recovery strategies.
  • Interaction:

    • Users can tap on the wheel to toggle between calorie stats and recovery options.
    • Hovering over a segment will display micro-interactions, such as calorie breakdowns or motivational messages (e.g., "You're doing great!").
    • The wheel will animate smoothly when updated, creating a sense of progress and achievement.
  • Animations: Subtle transitions and color shifts will make the wheel feel alive and engaging.

This unique design will make Bright-Diet instantly memorable and visually appealing.

Page 6 of 9

7. Non-Functional Requirements

  • Performance: The app must load within 2 seconds on a 4G connection.
  • Scalability: Support up to 1 million users with minimal latency.
  • Security: Ensure secure storage of user data and payment details using encryption.
  • Localization: Support Indian currency (₹) and common dietary habits.
  • Usability: Ensure users can complete core tasks (e.g., input food, view recovery options) in under 5 seconds.

8. Tech Stack

Frontend

  • React for Web
  • React Native for Mobile App

Backend

  • Python with FastAPI

Database

  • MySQL for structured data storage (with Alembic for migrations).

AI Models

  • GPT 5.4 for user-friendly responses.
Page 7 of 9

AI Tools

  • LangChain for AI workflow orchestration.
  • LiteLLM for LLM routing.

Orchestration

  • Docker for local development.
  • Kubernetes for server-side orchestration.

Payment Integration

  • Razorpay for subscription payments.

9. Assumptions and Constraints

Assumptions

  • Users will primarily access the app via mobile devices.
  • Users will input food items in text format (e.g., "burger and fries").
  • The app will initially target users in India.

Constraints

  • The MVP must be delivered within 3 months.
  • Free users are limited to 5 AI queries per week.
  • Razorpay is the only payment gateway for subscriptions.
Page 8 of 9

10. Glossary

  • AI Damage Control Chat: The main feature where users input food and receive calorie estimations and recovery strategies.
  • Calorie Target: The daily calorie limit calculated based on user details and fitness goals.
  • Discipline Score: A basic metric to track how consistent users are with their diet.
  • Premium User: A user who has subscribed to the app for unlimited queries and advanced features.
  • Recovery Strategies: Practical suggestions (e.g., exercise or diet adjustments) to offset calorie intake from cheat meals.
Page 9 of 9

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

No user flows yet.

The User Flow Agent will generate per-persona navigation diagrams after SRD updates.

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

No user flows yet.

The User Flow Agent will generate per-persona navigation diagrams after SRD updates.