Sahtech is a comprehensive health and nutrition platform designed to help users make informed decisions about food products. The platform consists of multiple integrated components:
- Mobile Application - A Flutter-based mobile app for users to scan food products, receive personalized recommendations, and manage their health profiles, contact nutritionists, chat with them, update their health status, and more enhanced features coming soon...
- Backend Server - A Spring Boot server that handles user authentication, data storage, and business logic.
- AI Component - An AI-powered recommendation system that analyzes food products based on user health profiles, built with agentic ReAct architecture using LangChain.
- Landing Page Website - A descriptive website that showcases the platform's features and benefits.
- Collaboration Form - A system for advertisers and partners to submit collaboration requests.
- Analytics Dashboard - A dashboard to monitor user metrics, downloads, and platform performance.
Screenshots from the actual Android application
-
Technology: Flutter (cross-platform)
-
Architecture: Clean Architecture with layered structure
-
State Management: Provider pattern
-
Key Dependencies:
- UI/UX: Google Fonts, Font Awesome Flutter, Animated Text Kit, Flutter ScreenUtil
- Navigation & Routing: Built-in Flutter navigation
- HTTP Networking: HTTP package for API communication
- Storage: Shared Preferences, Flutter Secure Storage
- Camera & Scanning: Image Picker, QR Code Scanner, Mobile Scanner
- Maps & Location: Google Maps Flutter, Geolocator, Geocoding
- Connectivity: Connectivity Plus for network status
- WebView: WebView Flutter for embedded web content
- Device Preview: For responsive design testing
-
Project Structure:
lib/ ├── core/ # Core application logic │ ├── auth/ # Authentication logic │ ├── base/ # Base classes and interfaces │ ├── config/ # App configuration │ ├── CustomWidgets/ # Reusable custom widgets │ ├── l10n/ # Localization files │ ├── services/ # API services and business logic │ ├── theme/ # App theming and styling │ └── utils/ # Utility functions ├── presentation/ # UI layer │ ├── home/ # Home screen components │ ├── nutritionist/ # Nutritionist consultation features │ ├── onboarding/ # User onboarding screens │ ├── profile/ # User profile management │ ├── scan/ # Product scanning functionality │ └── widgets/ # Shared UI widgets ├── screens/ # Main application screens └── assets/ # Images and static assets -
Features:
- Cross-platform support (Android, iOS, Web, Windows, macOS)
- Barcode and QR code scanning for food products
- Personalized recommendations based on health profile
- User profile management (allergies, chronic diseases, preferences)
- Nutritionist contact and consultation
- History of scanned products
- Google Maps integration for location services
- Secure local data storage
- Responsive design with device preview support
- Internationalization (i18n) support
- Custom launcher icons for all platforms
- Technology: Spring Boot (Java)
- Features:
- RESTful API endpoints
- MongoDB database integration
- User authentication and authorization
- Product data management
- Health profile storage and analysis
- Technology: FastAPI (Python) with Groq LLM API integration
- Features:
- Product analysis based on ingredients and nutritional content
- Personalized recommendations considering user health profiles
- Detection of potential allergens and health concerns
- Nutritional advice generation
- URL: soon...
- Features:
- Platform description and benefits
- Download links for the mobile application
- Information about the team and technology
- Contact information and support
- Purpose: Allows businesses to submit advertising requests
- Features:
- Partner registration system
- Ad submission and management
- Billing and payment tracking
- Features:
- User metrics (total users, active users)
- Download statistics
- Product scan analytics
- Partner and advertisement performance tracking
The Sahtech platform follows a microservices architecture:
- SahtechFront: Flutter mobile application frontend
- SahtechServer: Spring Boot backend server
- SahtechAI: AI recommendation service with FastAPI
- Flutter SDK (for mobile app development)
- Java JDK 11+ and Maven (for backend server)
- Python 3.8+ (for AI component)
- MongoDB (for database)
-
Clone the repository:
git clone https://github.com/yourusername/sahtech.git -
Set up the backend server:
cd SahtechServer mvn clean install -
Configure the AI component:
cd SahtechAI/fastapi_service pip install -r requirements.txt- Create a
.envfile with your Groq API key
- Create a
-
Set up and run the Flutter application:
cd SahtechFront # Install Flutter dependencies flutter pub get # Generate launcher icons for all platforms flutter pub run flutter_launcher_icons:main # Check Flutter setup and connected devices flutter doctor flutter devices # Run the app (specify platform if needed) flutter run # Default platform flutter run -d chrome # Web browser flutter run -d windows # Windows desktop flutter run -d android # Android device/emulator flutter run -d ios # iOS device/simulator (macOS only) # Build for production flutter build apk # Android APK flutter build appbundle # Android App Bundle flutter build ios # iOS (macOS only) flutter build web # Web deployment flutter build windows # Windows executable
Additional Flutter Setup:
- Ensure you have the latest Flutter SDK installed
- For Android development: Android Studio with Android SDK
- For iOS development: Xcode (macOS only)
- For web development: Chrome browser
- For desktop development: Platform-specific requirements
- Real-Time Chat System: Implementation of Socket.IO for instant messaging between nutritionists and clients
- Live Nutrition Consultation: Real-time advice and guidance using gRPC protocol for high-performance communication
- Feedback System: Comprehensive user feedback collection and management system
- AI Mistake Reporting: Feature allowing users to report AI recommendation errors for continuous improvement
- VIP & Normal User Subscriptions: Tiered subscription model offering different levels of access
- Scan-Based Pricing: Subscription plans based on the number of product scans allowed per period
- Premium Features Access: Enhanced features and priority support for VIP subscribers
- Kafka with Go: Implementation of Apache Kafka using Go for distributed log management and event streaming
- Microservices Enhancement: Further decomposition into specialized microservices for better scalability
- Advanced Analytics: Enhanced monitoring and analytics capabilities for distributed systems
- Load Balancing: Implementation of advanced load balancing for high availability
- Enhanced AI Models: Integration of more sophisticated machine learning models
- Multi-Language Support: Expanded internationalization for global reach
- Offline Mode: Cached recommendations and offline functionality
- Advanced Security: Enhanced authentication and authorization mechanisms
This project is currently under active development as part of a Startup final year project (Projet de fin d'études L3).
"Fixing bugs and uneccesary files"












