Discover Natural Health with Smart Herb Recommendations
A complete Flutter application for discovering, learning about, and ordering medicinal herbs. Features intelligent disease/symptom-based recommendations, comprehensive herb information, and secure authentication.
Perfect for hackathons, wellness startups, and herbal commerce platforms.
✅ 10 Medicinal Herbs - Turmeric, Ginger, Ashwagandha, Neem, Tulsi, Aloe Vera, Mint, Curry Leaves, Basil, Triphala
✅ Smart Disease/Symptom Search - Type "arthritis" → Get Turmeric. Type "fever" → Get recommendations
✅ Comprehensive Herb Information - Benefits, dosage, usage instructions, prevention tips
✅ Dual Authentication - Email/password signup & Google Sign-In with Firebase
✅ Shopping Cart - Add herbs, manage quantity, place orders
✅ User Profiles - View account info, order history, settings
✅ Beautiful UI - Material Design 3 with modern, clean interface
5 minutes to get running:
# 1. Install dependencies
flutter pub get
# 2. Setup Firebase (see SETUP_GUIDE.md)
# - Create Firebase project
# - Download google-services.json
# - Place in android/app/
# 3. Run app
flutter runFor detailed setup, see QUICKSTART.md and SETUP_GUIDE.md
| Login | Home | Search | Details |
|---|---|---|---|
| Email/Google Auth | Herb Grid + Search | Disease Search | Dosage/Usage |
| Herb | Treats | Search Keywords |
|---|---|---|
| Turmeric 🌱 | Inflammation, Arthritis | arthritis, pain, inflammation |
| Ginger 🔥 | Digestion, Nausea, Cold | nausea, cold, fever, digestion |
| Ashwagandha 💤 | Stress, Sleep | stress, anxiety, insomnia |
| Neem 🍃 | Skin, Immunity | skin, infection, acne |
| Tulsi 🌿 | Respiratory, Fever | respiratory, fever, cough |
| Aloe Vera 💚 | Burns, Skin | burns, skin problems |
| Mint 🍃 | Digestion, Headache | digestion, headache, nausea |
| Curry Leaves 🌾 | Anemia, Hair | anemia, hair, immunity |
| Basil 🌿 | Antibacterial | bacterial, infection |
| Triphala 🌰 | Detox, Digestion | constipation, detox |
lib/
├── main.dart # Firebase initialization, app setup
├── firebase_options.dart # Firebase configuration
├── models/herb.dart # Herb data structure
├── services/auth_service.dart # Firebase authentication
├── screens/
│ ├── login_screen.dart # Email + Google Sign-In
│ ├── home_screen.dart # Herb browsing
│ ├── herb_detail_screen.dart # Full herb information
│ ├── herb_search_screen.dart # Disease/symptom search
│ ├── cart_screen.dart # Shopping cart
│ └── profile_screen.dart # User profile
└── data/herbs_database.dart # Static herb data
- Email/Password: Complete signup and login with validation
- Google Sign-In: OAuth 2.0 integration with Firebase
- Session Management: Persistent login across app restarts
- User Data: Email, name, profile picture stored in Firebase
Type disease/symptom and get recommendations:
Search: "arthritis" → Turmeric (+ description, dosage, usage)
Search: "fever" → Ginger, Tulsi
Search: "insomnia" → Ashwagandha
Search: "skin" → Neem, Aloe Vera
Or search by:
- Herb name ("turmeric")
- Benefits ("anti-inflammatory")
- Scientific name ("Curcuma longa")
- Add herbs from home screen or detail view
- View cart with item count badge
- Manage quantities
- View order total
- Place order (payment gateway ready)
- View user information
- Order history
- Favorites (expandable)
- Settings
- Logout
| Component | Technology |
|---|---|
| Frontend | Flutter 3.38.5+ |
| Language | Dart 3.10.4+ |
| Backend | Firebase |
| Auth | Firebase Auth + Google Sign-In |
| Database | Static data (Firestore ready) |
| Design | Material Design 3 |
Each herb includes:
- id, name, scientificName
- description
- benefits (List)
- treatsConditions (for disease search)
- dosage
- usage (how to use)
- preventions (tips)
- price
- imageUrl (emoji)✅ E-commerce: Herbal product marketplace ✅ Wellness: Natural health information platform ✅ Ayurveda: Ayurvedic herb discovery app ✅ Hackathon: Complete starter template ✅ Educational: Learn about medicinal plants
- Create project at Firebase Console
- Enable Email/Password and Google Sign-In authentication
- Download google-services.json
- Place in android/app/
- Update credentials in firebase_options.dart if needed
See SETUP_GUIDE.md for detailed instructions.
- Firestore backend integration
- Order tracking
- Reviews and ratings
- Herb comparisons
- Personalized recommendations
- Dark mode
- Multiple languages
- Payment gateway
- Admin dashboard
- ✅ Android
- ✅ iOS
- ✅ Web
- ✅ Windows/Linux (framework ready)
This is a hackathon project. Contributions welcome!
- Add more herbs
- Improve search algorithm
- Enhance UI/UX
- Add new features
- QUICKSTART.md - Get running in 5 minutes
- SETUP_GUIDE.md - Complete Firebase setup guide
- Herb Database - All 10 herbs with data
For issues or questions:
- Check SETUP_GUIDE.md for Firebase errors
- Run
flutter cleanandflutter pub get - Check console logs:
flutter logs
Open source - use freely for personal and commercial projects.
Built with ❤️ for natural health and wellness 🌿✨
Questions? See QUICKSTART.md or SETUP_GUIDE.md