sk

byAbhishek Km

now build complete app using this files data and promnt

LandingLogin
Landing

Comments (0)

No comments yet. Be the first!

System Requirements

System Requirement Document

System Requirements Document

1. Introduction

Shakthi Fit is a mobile-first, AI-personalized nutrition and fitness platform designed for the Indian market. The platform focuses on personalized meal plans and a Full-Body Fitness Hub that encourages balanced training across Yoga, Cardio, and Strength exercises. This document outlines the system requirements for building the Shakthi Fit application, detailing the architecture, functional and non-functional requirements, user personas, and more.

2. System Overview

The Shakthi Fit platform is structured as a single monorepo, encompassing a mobile app, an admin web panel, and backend services. The mobile app is built using React Native with Expo, while the admin panel uses Next.js and Tailwind CSS. Backend services include a Node.js API Gateway, a Python-based Meal AI Service, and a Workout Engine. The platform leverages PostgreSQL for data storage, Redis for caching, and AWS for infrastructure.

3. Functional Requirements

Page 1 of 8

As a User:

  • I want to complete a 5-step onboarding process to set up my profile.
  • I want personalized meal plans generated using AI, with macro-balancing.
  • I want access to a Full-Body Fitness Hub with Yoga, Cardio, and Strength training options.
  • I want to view a Home Dashboard with daily summaries, meal previews, and workout previews.
  • I want to track my progress with a Progress Ring on the dashboard.
  • I want to receive push notifications for meal and workout reminders.
  • I want to sync my wearable devices for accurate workout tracking.
  • I want the option to auto-schedule workouts in my calendar.
  • I want to participate in A/B testing for onboarding, paywall placement, and notification timing.
Page 2 of 8

As an Admin:

  • I want to manage users, including searching, suspending, and exporting user data.
  • I want to control meal data, including CRUD operations on the food database and meal templates.
  • I want to manage workout data, including CRUD operations on exercises and MET table editing.
  • I want to view analytics on user engagement and subscription metrics.
  • I want to send push notifications and manage content updates without redeploying the app.
  • I want to conduct end-to-end tests of the full user loop.
  • I want to expand the exercise and meal-template libraries based on user data.
  • I want to expand wearable integrations or regional cuisine coverage based on demand.
  • I want to finalize App Store / Play Store privacy labels to reflect actual data collection.
Page 3 of 8

As a Developer:

  • I want to initialize the monorepo and workspace tooling for efficient development.
  • I want to build the api-gateway skeleton to handle authentication and user requests.
  • I want to build the design-token package and import it into both mobile and admin-web applications.
  • I want to build wearable sync as Lambda functions for seamless integration with third-party APIs.
  • I want to build the workout-engine implementing the MET calorie engine.
  • I want to implement the Smart Daily Plan Generator for personalized workout sessions.
  • I want to implement the macro-balancing solver for accurate meal planning.
  • I want to create a Razorpay sandbox account for testing payment integrations.
  • I want to enable billing alerts and budgets to manage project costs.
  • I want to conduct dependency scanning on every PR to ensure code security.
  • I want to perform a full QA pass to catch any issues before launch.
  • I want to submit the app to the App Store and Play Store for public availability.

4. User Personas

Primary User

  • Indian adults aged 18–45 seeking weight management, muscle building, or general fitness.
Page 4 of 8

Secondary User

  • Individuals interested in structured, balanced training beyond cardio.

Admin

  • The founder or designated personnel responsible for managing the platform and user data.

5. Core User Flows

User Onboarding

  1. Sign up using email or social login.
  2. Complete the 5-step profile builder.
  3. Confirm the Profile Summary Card.
  4. Access the Home Dashboard.

Meal Plan Generation

  1. Access the Meals tab.
  2. View AI-generated meal plans.
  3. Select meals and view detailed recipes.

Workout Plan Access

  1. Access the Workout tab.
  2. View personalized workout plans.
  3. Track workout progress and sync with wearables.
Page 5 of 8

6. Visuals Colors and Theme

  • Bottom navigation with 4 tabs: Home, Meals, Workout, Profile.
  • Consistent design tokens for colors, spacing, and typography shared across mobile and admin web.

7. Signature Design Concept

  • AI-generated screens display a Shakthi logo loading animation during data generation.

8. Interaction Model & Motion Direction

  • Smooth transitions between tabs and screens, with swipeable lists for exercises and meal plans.

9. Non-Functional Requirements

  • App cold start time: < 2 seconds.
  • Meal plan generation time: < 3 seconds.
  • Smart Daily Plan generation time: < 2 seconds.
  • Workout tab load time: < 1 second.
  • API uptime: 99.9%.
  • Support for 10,000+ simultaneous users.
Page 6 of 8

10. Tech Stack

  • Frontend (Mobile): React Native (Expo), TypeScript
  • Frontend (Admin): Next.js, Tailwind CSS, TypeScript
  • Backend: Node.js (API Gateway), Python (Meal AI Service, Workout Engine)
  • Database: PostgreSQL (AWS RDS)
  • Cache/Queues: Redis (AWS ElastiCache)
  • File Storage: AWS S3 + CloudFront
  • Auth: Firebase Authentication + JWT
  • Payments: Razorpay
  • Monitoring: Datadog, Sentry
  • CI/CD: GitHub Actions

11. Assumptions and Constraints

  • All secrets are managed using AWS Secrets Manager.
  • No avatar rendering, general-purpose chatbot, or OCR pipeline is included.
  • GDPR/DPDP compliance is mandatory, with explicit consent capture and self-serve data management.
Page 7 of 8

12. Glossary

  • AI: Artificial Intelligence
  • JWT: JSON Web Token
  • MET: Metabolic Equivalent of Task
  • CRUD: Create, Read, Update, Delete
  • GDPR: General Data Protection Regulation
  • DPDP: Data Protection and Privacy

This document serves as the comprehensive guide for the development and deployment of the Shakthi Fit platform, ensuring alignment with the specified requirements and constraints.

Page 8 of 8
Landing design preview
Login: Sign In
Admin Dashboard: View Analytics
Users: Search Accounts
Users: Suspend Account
Users: Export Data
Meal Data: Manage Food Database
Meal Data: Edit Templates
Workout Data: Manage Exercises
Workout Data: Edit MET Table
Notifications: Send Push
Content: Update Without Redeploy
Analytics: View Subscriptions
Landing design preview
Login: Sign In
Admin Dashboard: View Analytics
Users: Search Accounts
Users: Suspend Account
Users: Export Data
Meal Data: Manage Food Database
Meal Data: Edit Templates
Workout Data: Manage Exercises
Workout Data: Edit MET Table
Notifications: Send Push
Content: Update Without Redeploy
Analytics: View Subscriptions