As a user, I want the application to have a consistent theme and structure so that all pages look identical to the mock-design pages. This task covers: applying the color palette (#F5F9FF background, #FFFFFF surface, #2D3748 text, #4CAF50 accent, #B0BEC5 muted), setting up global CSS/Tailwind config, typography, spacing, shared layout components (navbar, sidebar, footer), and removing any scaffold pages not needed by the final design. All 11 designed pages must be wired into the routing structure.
As a client, I want the dashboard to display accurate real-time data so that my supplement progress, circular ring stats, and personalized greeting are always up to date. Build FastAPI endpoints for fetching daily summary, completion percentages, streak data, and badges for the authenticated user.
As a client, I want backend APIs to log, edit, delete, and retrieve my supplement entries so that my data is persisted securely. Build FastAPI CRUD endpoints for supplement log entries with user-scoped access control, daily tick-off state, and GDPR-compliant data handling.
As a client, I want the settings backend to save my reminder preferences so that I receive timely notifications. Build FastAPI endpoints for managing user notification settings, reminder schedules (GMT default), and preference persistence.
As a client, I want a backend API that provides a searchable supplement library with detailed information (benefits, types, dosage, timing, food pairing, medicine contraindications, side effects) so that I can make informed choices. Build FastAPI endpoints for supplement catalogue CRUD, search, and filtering by category/benefit/type.
As a user, I want to view an informative landing page so that I can learn about the platform and navigate to Login or Signup. Implement the Landing (v2) JSX design with hero section, feature highlights, CTA buttons linking to Login and Signup. Includes micro-interactions and modern aesthetic per the signature design concept.
As a user, I want to sign in to the platform so that I can access my personal dashboard. Implement the Login (v2) JSX design with email/password fields, validation, error states, and a link to Signup. Connects to the existing authentication backend.
As a user, I want to create a new account so that I can start tracking my supplements. Implement the Signup (v2) JSX design with name, email, password fields, role selection (Client/Coach), validation, and navigation to Login. Connects to existing auth backend.
As a client, I want to view my progress dashboard so that I can see daily supplement intake, circular progress rings, animated charts, personalized greeting, and gamification badges. Implement the Dashboard (v2) JSX design. Links to Log Supplement, Analytics, Goals, and Settings pages.
As a client, I want to log, edit, and delete my daily supplement intake so that I can maintain an accurate record. Implement the Log Supplement (v2) JSX design with add/edit/delete entry forms, daily tick-off checkboxes, and supplement search from the library. Navigates from Dashboard.
As a client, I want to manage my reminder preferences and account settings so that I receive timely notifications for supplement intake. Implement the Settings (v2) JSX design with notification/reminder management, profile settings, and timezone defaults (GMT). Navigates from Dashboard.
As a client, I want the analytics backend to aggregate and return my supplement history data so that charts and trend views are accurate. Build FastAPI endpoints for time-series supplement data, progress summaries, and trend calculations scoped per user.
As a client, I want backend APIs to create, update, and retrieve my supplement goals so that my goal progress is tracked persistently. Build FastAPI endpoints for goal management with target amounts, deadlines, and progress calculations.
As a coach/admin, I want backend APIs to list and retrieve client profiles so that I can monitor all users' supplement activity. Build FastAPI endpoints for paginated client listing, search/filter, and per-client activity summaries with role-based access control.
As a client, I want to browse a searchable supplement library so that I can find detailed information about each supplement and add it to my daily tracker. Build the Supplement Library frontend page with search, category/type/benefit filters, supplement cards showing dosage, timing, food pairing, contraindications, and an 'Add to My Supplements' action for daily tick-off integration.
As a client, I want to receive reminder notifications for my supplement intake so that I stay consistent with my health routine. Build a background notification service (email and/or push) integrated with the reminders settings, scheduled per user preferences using GMT timezone defaults.
As a client, I want an AI assistant powered by GPT so that I can ask questions about my supplements, get personalised recommendations, and receive health insights. Integrate Langchain + GPT into the existing ai-assistant dashboard page, connecting to supplement log and library data for context-aware responses.
As a client, I want to view my supplement progress through charts and analytics so that I can track my health improvements over time. Implement the Analytics (v2) JSX design with animated progress charts, trend lines, and historical data views. Navigates from Dashboard.
As a client, I want to set and manage my supplement intake goals so that I can stay motivated and measure achievement. Implement the Goals (v2) JSX design with goal creation, editing, progress indicators, and gamification badges. Navigates from Dashboard.
As a coach/admin, I want to browse and search all clients so that I can monitor their supplement activity. Implement the Clients (v2) JSX design with client list, search/filter, and navigation to individual Client Profile pages. Accessible from the Admin Dashboard.
As a coach/admin, I want backend APIs to generate and export client progress reports so that data can be shared or analysed externally. Build FastAPI endpoints for generating CSV/PDF exports of supplement logs with date range and client filtering, compliant with GDPR.
As a coach/admin, I want to view and analyze an individual client's supplement activity and trends so that I can provide better guidance. Implement the Client Profile (v2) JSX design with activity timeline, trend analysis charts, and supplement history. Navigates from Clients list.
As a coach/admin, I want to export client progress data so that I can share or analyze it externally. Implement the Reports (v2) JSX design with data export options (CSV/PDF), date range selection, and client filtering. Navigates from Admin Dashboard.
No comments yet. Be the first!