red-health

byHiral B

Create a health monitoring mobile application for a sports complex health program. Purpose: Visitors of a sports complex will use this app to record their basic health information and daily habits. The system should help track health conditions and allow consultation with a doctor. User Features: 1. User Registration Users should register with: * Name * Email * Age * Gender * Height * Weight * Phone number 2. Health Profile Users should complete an initial health profile form including: * Blood Pressure * Blood Sugar * Cholesterol * Smoking habit * Alcohol consumption * Exercise frequency * Sleep hours * Existing diseases * Health goal (weight loss, weight gain, diabetes control, pregnancy planning, fitness improvement) 3. Daily Health Tracker Users should be able to log daily health data: * Date * Blood Pressure * Sugar level * Weight * Exercise minutes * Water intake * Sleep hours 4. Ask Doctor Users should be able to ask medical questions to a doctor. The form should include: * Question * Upload medical report * Date * Status The doctor should be able to reply with advice. 5. Appointment Booking Users should be able to book consultation appointments with the doctor. Fields: * Date * Time * Consultation type (online or clinic visit) * Status 6. Health Programs Create sections for programs such as: * Weight Loss Program * Weight Gain Program * Diabetes Control * Pregnancy Planning * Athlete Fitness Each program should show diet guidance and lifestyle advice. 7. Seasonal Health Guide Create a health tips section showing seasonal advice: * Summer health tips * Monsoon health precautions * Winter diet and lifestyle tips 8. Doctor Dashboard Doctor should have a dashboard to: * View all users * View health profiles * View daily health tracking * Reply to patient questions * Manage appointments 9. Login System Users should log in with email so each user only sees their own data. Tables Needed: Users Health_Profile Daily_Tracker Ask_Doctor Appointments Health_Tips The app should be mobile friendly and easy to use for non-technical users.

LandingLoginRegisterAppointmentsAsk DoctorDoctor DashboardDaily TrackerPatient ProfileDashboardHealth ProfileSeasonal GuideHealth Programs
Landing

Comments (0)

No comments yet. Be the first!

Project Tasks22

#1

Align Theme and Colors

To Do

Implement the global theme and color system across all scaffold pages to match the v2 mock designs exactly. Define a centralized theme file (colors, typography, spacing, border radius, shadows, component tokens) using the red-health palette: primary Red (#FF4D4D), White (#FFFFFF), Green (#4CAF50), Light Blue (#87CEEB), Orange (#FFA500), Grey (#F5F5F5). Apply theme to all existing scaffold pages so they visually align with the completed design references. This task is foundational and must be completed before any page-level implementation begins.

AI 75%
Human 25%
High Priority
2 days
AI Credits:6
Frontend Developer
#2

Cleanup Scaffold Structure

To Do

Audit the existing scaffold and remove or rename pages that do not align with the final application structure defined in the SRD. Remove unneeded pages (ai-assistant, generic welcome/overview pages). Set up the final navigation/routing structure for both User flow (Landing → Register/Login → Dashboard → sub-pages) and Doctor flow (Login → Doctor Dashboard → sub-pages). Ensure route naming matches all designed pages before page implementations begin.

Depends on:#1
Waiting for dependencies
AI 70%
Human 30%
High Priority
1 day
AI Credits:4
Frontend Developer
#11

Implement Health Programs Page

To Do

Implement the Health Programs page UI to exactly match the Health Programs (v2) JSX design. Display program cards for weight loss, weight gain, diabetes management, pregnancy planning, and athlete fitness with diet guidance and lifestyle advice. Include program detail view and enrollment action. Show enrolled programs and progress indicators. User flow: Dashboard → Health Programs.

Depends on:#2
Waiting for dependencies
AI 92%
Human 8%
Medium Priority
2 days
AI Credits:5
Frontend Developer
#5

Implement Register Page

To Do

Implement the Register page UI to exactly match the Register (v2) JSX design. Include all registration fields: name, email, age, gender, height, weight, phone number. Implement form validation, field error states, and submission loading state as shown in the design. Connect form to the user registration API endpoint. User flow: Landing → Register → Login.

Depends on:#2
Waiting for dependencies
AI 90%
Human 10%
High Priority
2 days
AI Credits:5
Frontend Developer
#7

Implement Health Profile Page

To Do

Implement the Health Profile page UI to exactly match the Health Profile (v2) JSX design. Include fields for blood pressure, blood sugar, cholesterol, smoking status, alcohol consumption, exercise frequency, sleep hours, existing diseases, and health goals (weight loss, weight gain, diabetes control, pregnancy planning, fitness). Support both create and edit modes with validation. User flow: Dashboard → Health Profile.

Depends on:#2
Waiting for dependencies
AI 90%
Human 10%
High Priority
2 days
AI Credits:5
Frontend Developer
#8

Implement Daily Tracker Page

To Do

Implement the Daily Tracker page UI to exactly match the Daily Tracker (v2) JSX design. Include daily entry form for date, blood pressure, blood sugar, weight, exercise duration, water intake, and sleep hours. Display animated progress bars for daily goals. Show history list or calendar view of past entries. Implement input validation and submission states. User flow: Dashboard → Daily Tracker.

Depends on:#2
Waiting for dependencies
AI 90%
Human 10%
High Priority
2 days
AI Credits:5
Frontend Developer
#10

Implement Appointments Page

To Do

Implement the Appointments page UI to exactly match the Appointments (v2) JSX design. Include appointment booking form with date picker, time slot selector, online/clinic consultation type toggle. Display existing appointments list with status indicators (pending, confirmed, cancelled). Implement booking confirmation and cancellation flows. User flow: Dashboard → Appointments.

Depends on:#2
Waiting for dependencies
AI 90%
Human 10%
High Priority
2 days
AI Credits:5
Frontend Developer
#13

Implement Doctor Dashboard Page

To Do

Implement the Doctor Dashboard page UI to exactly match the Doctor Dashboard (v2) JSX design. Include summary stats (total users, pending appointments, unanswered questions), and quick navigation to Users list, Patient Profiles, Ask Doctor questions queue, and Appointments management. Implement doctor-specific navigation layout. Doctor flow: Login → Doctor Dashboard.

Depends on:#2
Waiting for dependencies
AI 90%
Human 10%
High Priority
2 days
AI Credits:5
Frontend Developer
#9

Implement Ask Doctor Page

To Do

Implement the Ask Doctor page UI to exactly match the Ask Doctor (v2) JSX design. Include question input area, file upload component for medical reports, and display of past questions with doctor text and video responses. Handle AI response loading states. Support both user question submission and doctor reply rendering (text/video). User flow: Dashboard → Ask Doctor → Upload Report.

Depends on:#2
Waiting for dependencies
AI 88%
Human 12%
High Priority
2 days
AI Credits:6
Frontend Developer
#12

Implement Seasonal Guide Page

To Do

Implement the Seasonal Guide page UI to exactly match the Seasonal Guide (v2) JSX design. Display health tip cards categorized by season (summer, monsoon, winter) as a carousel with vibrant images and short videos. Implement season filter/tab navigation and media rendering. User flow: Dashboard → Seasonal Guide.

Depends on:#2
Waiting for dependencies
AI 92%
Human 8%
Medium Priority
2 days
AI Credits:5
Frontend Developer
#14

Implement Patient Profile Page

To Do

Implement the Patient Profile page UI to exactly match the Patient Profile (v2) JSX design. Display full user details, health profile summary, recent daily tracker entries, and activity history. Include doctor action buttons to navigate to user questions or appointments. Doctor flow: Doctor Dashboard → Patient Profile → Daily Tracker view.

Depends on:#2
Waiting for dependencies
AI 90%
Human 10%
High Priority
2 days
AI Credits:5
Frontend Developer
#3

Implement Landing Page

To Do

Implement the Landing page UI to exactly match the Landing (v2) JSX design. Include hero section with 3D rotating health wheel concept, feature highlights, and CTA buttons for Register and Login. Ensure full theme compliance and responsive mobile layout. This is the entry point for all users in the user flow (Landing → Register or Login).

Depends on:#2
Waiting for dependencies
AI 92%
Human 8%
High Priority
1 day
AI Credits:4
Frontend Developer
#4

Implement Login Page

To Do

Implement the Login page UI to exactly match the Login (v2) JSX design. Include email/password fields, login button, link to Register, and branding elements. Wire up form state management and connect to the existing basic auth integration. Ensure validation states (error, loading) are visually handled per design. Serves both User and Doctor login flows.

Depends on:#2
Waiting for dependencies
AI 92%
Human 8%
High Priority
1 day
AI Credits:4
Frontend Developer
#6

Implement Dashboard Page

To Do

Implement the user-facing Dashboard page UI to exactly match the Dashboard (v2) JSX design. Include the 3D rotating health wheel with key metrics, animated progress bars for daily goals, personalized greeting (e.g. 'Good Morning, Hiral!'), and quick-access navigation cards to Health Profile, Daily Tracker, Ask Doctor, Appointments, Health Programs, and Seasonal Guide. This is the main hub after login in the User flow.

Depends on:#2
Waiting for dependencies
AI 90%
Human 10%
High Priority
2 days
AI Credits:6
Frontend Developer
#15

Build User Registration API

To Do

Build FastAPI endpoints for user registration and profile management. Implement POST /api/users/register (create user: name, email, age, gender, height, weight, phone), GET /api/users/{user_id}, PUT /api/users/{user_id}. Store in MySQL with Pydantic validation, duplicate email handling, and password hashing. Return JWT token on successful registration.

Depends on:#5
Waiting for dependencies
AI 80%
Human 20%
High Priority
2 days
AI Credits:5
Backend Developer
#21

Build Seasonal Guide API

To Do

Build FastAPI endpoints for seasonal health guide with MongoDB media storage. Implement GET /api/seasonal-guide (tips grouped by season: summer, monsoon, winter), GET /api/seasonal-guide/{season}, POST /api/seasonal-guide (create tip with text and media upload), GET /api/seasonal-guide/{tip_id}/media. Store tip metadata in MySQL and media files/references in MongoDB. Include CDN-friendly media URL generation.

Depends on:#12
Waiting for dependencies
AI 75%
Human 25%
Medium Priority
3 days
AI Credits:6
Backend Developer
#18

Build Ask Doctor API with AI

To Do

Build FastAPI endpoints and AI integration for Ask Doctor. Implement POST /api/ask-doctor/questions (submit question with optional medical report file upload), GET /api/ask-doctor/questions/{user_id}, POST /api/ask-doctor/questions/{question_id}/ai-response (trigger GPT via LangChain), POST /api/ask-doctor/questions/{question_id}/doctor-reply (doctor submits text or video URL). Integrate OpenAI GPT + LangChain for AI-generated responses. Store in MongoDB.

Depends on:#9#15
Waiting for dependencies
AI 72%
Human 28%
High Priority
3 days
AI Credits:8
AI Engineer
#17

Build Daily Tracker CRUD API

To Do

Build FastAPI CRUD endpoints for daily health tracking. Implement POST /api/daily-tracker, GET /api/daily-tracker/{user_id} (with date range filter), GET /api/daily-tracker/{user_id}/{date}, PUT /api/daily-tracker/{entry_id}. Fields: date, blood pressure, blood sugar, weight, exercise duration, water intake, sleep hours. Store in MySQL. Enforce one entry per user per date.

Depends on:#8#15
Waiting for dependencies
AI 80%
Human 20%
High Priority
2 days
AI Credits:5
Backend Developer
#20

Build Health Programs API

To Do

Build FastAPI endpoints for health programs. Implement GET /api/programs (list: weight loss, weight gain, diabetes, pregnancy, athlete fitness with diet/lifestyle details), GET /api/programs/{program_id}, POST /api/programs/{program_id}/enroll (user enrollment), GET /api/programs/enrolled/{user_id}, DELETE /api/programs/{program_id}/enroll/{user_id}. Store program definitions and enrollments in MySQL.

Depends on:#15#11
Waiting for dependencies
AI 80%
Human 20%
Medium Priority
2 days
AI Credits:5
Backend Developer
#19

Build Appointments CRUD API

To Do

Build FastAPI endpoints for appointment booking and management. Implement POST /api/appointments (book: date, time, type, doctor), GET /api/appointments/{user_id}, GET /api/appointments/doctor/{doctor_id}, PUT /api/appointments/{appointment_id} (update status: pending/confirmed/cancelled). Store in MySQL. Include slot availability validation to prevent double-booking.

Depends on:#15#10
Waiting for dependencies
AI 80%
Human 20%
High Priority
2 days
AI Credits:5
Backend Developer
#16

Build Health Profile CRUD API

To Do

Build FastAPI CRUD endpoints for health profile management. Implement POST /api/health-profile, GET /api/health-profile/{user_id}, PUT /api/health-profile/{user_id}. Fields: blood pressure, blood sugar, cholesterol, smoking status, alcohol consumption, exercise frequency, sleep hours, existing diseases, health goals. Store in MySQL. Enforce user-scoped authorization.

Depends on:#15#7
Waiting for dependencies
AI 80%
Human 20%
High Priority
2 days
AI Credits:5
Backend Developer
#22

Build Doctor Dashboard API

To Do

Build FastAPI endpoints powering the Doctor Dashboard. Implement GET /api/doctor/users (paginated list of all users with health summary), GET /api/doctor/users/{user_id}/health-profile, GET /api/doctor/users/{user_id}/daily-tracker, GET /api/doctor/questions (all pending questions), GET /api/doctor/appointments (all doctor appointments filtered by status/date), GET /api/doctor/stats (summary: total users, pending appointments, unanswered questions). Enforce doctor-role authorization on all endpoints.

Depends on:#14#16#13#17#19
Waiting for dependencies
AI 78%
Human 22%
High Priority
3 days
AI Credits:6
Backend Developer
Landing design preview
Login: Sign In
Doctor Dashboard: View Overview
Doctor Dashboard: View All Users
Patient Profile: View Health Data
Patient Profile: View Daily Tracker
Ask Doctor: View Questions
Ask Doctor: Reply with Advice
Appointments: View Bookings
Appointments: Update Status