An agriculture app named “FarmRescue” where farmers upload crop photos, get instant AI diagnosis, and connect to live experts for guidance. Include: login, problem submission, AI disease detection, expert chat/video call, daily follow-up tracking, pay-after-solution system, local language support, farmer dashboard, expert dashboard, and admin panel. Design must be simple and farmer-friendly.

What it does

where farmers upload crop photos, get instant AI diagnosis, and connect to live experts for guidance

How we built it

users • id (string, doc id), phone (string), name (string), role (enum: farmer, expert, admin), language (string), location {lat, lng}, crops (array), wallet_balance (number), created_at (timestamp) • farms • id, user_id, name, area_acres (number), primary_crops (array), soil_type (string) • submissions • id, farm_id, user_id, crop_type, symptoms (text), location {lat,lng}, severity_score (number), ai_diagnosis (json), status (enum: open, in_progress, escalated, resolved, closed), created_at • media • id, submission_id, media_type (photo/video/audio), url, uploaded_at • consultations • id, submission_id, expert_id, type (chat/call), status (pending, accepted, closed), start_time, end_time, transcript_url • followups • id, consultation_id, day_index (int), media_ids (array), expert_note, farmer_note, resolved (bool) • payments • id, consultation_id, payer_id, amount, status (held,released,refunded), gateway_txn_id, created_at • experts • id, user_id, specializations (array), rating (number), verified (bool), languages (array) • notifications • id, user_id, title, body, read (bool), created_at

Pages / Screens (components & key bindings) 1. Onboarding • Components: Language selector (dropdown), Phone OTP login (phone field + send OTP + verify) • After login: ask name, primary crop(s), farm location (map picker) → save to users + farms 2. Home • Top: Quick submit button — “Describe your problem” (FAB) • Sections: Active cases (list), Recent advice (cards), Tutorials / offline docs 3. Submit Problem • Fields: Select crop (dropdown bound to user.farms), Symptoms (multi-select tags), Upload Photo(s) (image picker), Upload Video (optional), Attach audio note (optional), Auto-capture Location (geolocation) • On submit: Create submissions doc, upload media to Storage, call Cloud Function /api/diagnose (see APIs) → set ai_diagnosis and severity_score in doc, show AI result screen 4. AI Diagnosis Result • Show: Probable diagnosis, confidence %, severity score, suggested immediate steps (short bullets), CTA button: “Connect to Expert” • Buttons: Connect (opens Connect modal), Save to History 5. Connect Modal • Options: Chat / Video Call, Preferred language, Urgency (High/Normal) • Action: POST /api/connect → creates consultations and queues expert 6. Waiting / Queue • Show queue position, ETA (if available), Cancel button 7. Live Consultation (Chat) • Real-time messages (Firestore/Realtime DB), media attachments, End Call / Mark Resolved button • After consultation: expert can create prescriptions (text + image + product links) 8. Follow-Up Timeline • Daily card list for follow-ups with upload image button; expert verifies and marks resolved/escalate 9. Payments / Wallet • Hold escrow when connecting (optional): call POST /api/payments/hold • On resolved: POST /api/payments/release 10. Expert Dashboard (mobile/web) • Queue list, filter by crop/language/urgency, accept case, view AI hints, request more media, mark follow-ups 11. Admin Panel • Manage experts, disputes, payments, global stats

Challenges we ran into

Logistics and Timing Pressures

Farms operate on tight, non-negotiable schedules. • Planting and harvest windows are short. • Weather can shift suddenly. • Farmers often need help immediately after an injury, illness, or disaster.

Coordinating volunteers, large equipment, fuel, and travel across multiple states with these constraints is one of their toughest challenges.

  1. Volunteer Availability & Training

Farm Rescue relies heavily on volunteers. • Volunteers come from many backgrounds; some are experienced farmers, others are not. • Matching the right people to the right tasks — and ensuring safety — takes time and coordination. • Demand for help sometimes outpaces available volunteers during peak seasons.

  1. Equipment & Maintenance

Large agricultural equipment is: • expensive • complex to operate • expensive to haul long distances • vulnerable to breakdowns

Farm Rescue depends on donated or loaned machinery, meaning they have to manage maintenance, transport, and availability.

Accomplishments that we're proud of

Building an app for the farmers.

What we learned

Farm Rescue provides planting, harvesting, haying, commodity hauling and livestock-feeding assistance — free of cost — to farm/ranch families that have suffered a major injury, serious illness or natural disaster.

Built With

  • base44
Share this project:

Updates