A comprehensive Flutter-based mobile application designed to help users manage their medication schedules effectively. Built with Firebase Authentication for secure user management, SQLite for local data storage, and integrated with Google Gemini AI for intelligent medicine information.
- ** Secure Authentication**: Firebase-powered user login and registration
- ** Medicine Scheduling**: Set up custom medication reminders with flexible timing
- ** Refill Tracking**: Monitor medication stock levels and get refill alerts
- ** History Logs**: Keep track of taken medications and adherence patterns
- ** Local Notifications**: Receive timely reminders even offline
- ** AI-Powered Insights**: Get detailed medicine information using Google Gemini API
- ** Dark Mode Support**: Comfortable viewing in all lighting conditions
- ** Cross-Platform**: Runs on Android, iOS, Web, Windows, Linux, and macOS
- Framework: Flutter (Dart)
- Backend Services:
- Firebase Authentication
- Firebase Core
- Database: SQLite with sqflite
- Notifications: flutter_local_notifications
- AI Integration: Google Generative AI (Gemini)
- State Management: Provider
- Other Libraries:
- shared_preferences
- path_provider
- intl (for date/time formatting)
- http
- flutter_dotenv
Before running this project, ensure you have the following installed:
- Flutter SDK (version 3.8.1 or higher)
- Dart SDK (version 3.8.1 or higher)
- Android Studio or VS Code with Flutter extensions
- For Android development: Android SDK and emulator/device
- For iOS development: Xcode (macOS only)
-
Clone the repository:
git clone https://github.com/your-username/medicine-reminder-app.git cd medicine-reminder-app -
Install dependencies:
flutter pub get
-
Configure Firebase:
- Create a Firebase project at Firebase Console
- Enable Authentication and configure sign-in methods
- Download
google-services.jsonand place it inandroid/app/ - Update
lib/firebase_options.dartwith your Firebase config
-
Set up DEEPSEEK AI:
- Get an API key from OPEN ROUTER AI
- Create a
.envfile in the project root:OPENROUTER_API_KEY=your_actual_api_key_here - The app automatically loads the API key from environment variables
-
Run the app:
flutter run
- Sign Up/Login: Create an account or log in with existing credentials
- Add Medications: Input medicine details, dosage, and schedule
- Set Reminders: Configure notification times and frequencies
- Track Refills: Monitor stock levels and set refill reminders
- View History: Check medication adherence and logs
- AI Assistance: Get detailed information about medications using Deepseek AI
flutter build apk --releaseflutter build ios --releaseflutter build web --releaseRun the test suite:
flutter testWe welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Wahab Ejaz
- Abuzar
- Zaraar
This project is licensed under the MIT License - see the LICENSE file for details.
- Flutter for the amazing cross-platform framework
- Firebase for authentication and backend services
- Google Gemini AI for AI-powered medicine information
- Flutter Community for excellent packages and support
If you have any questions or need help, please open an issue on GitHub or contact the development team.
Note: The .env file containing your Gemini API key is already included in .gitignore for security purposes. Never commit sensitive information to version control.