You can download the latest .apk from the Releases page.
To quickly test the application without registering, use the following test credentials:
DOCTOR
- Email:
mohan.desai@gmail.com - Password:
doctor123
PATIENT
- Email:
raj.patel@gmail.com - Password:
patient123
MediTrack is a Flutter-based medical visit tracking app for doctors and patients.
- Doctors can log in, create visit records, add prescriptions, set follow-up dates, and use voice-to-text with AI-assisted note extraction.
- Patients can log in, review their medical history, view prescriptions, and receive appointment reminder notifications.
This repository contains the Flutter frontend. The backend lives in a separate repository:
The app supports two user roles:
Doctor: create and manage patient visit records.Patient: view visit history, notes, medicines, and next appointment details.
Main functionality included in this frontend:
- Authentication for doctor and patient users
- Doctor dashboard for creating visit records
- Voice dictation using
speech_to_text - AI-assisted diagnosis/notes extraction through the backend API
- Prescription and follow-up date entry
- Patient medical history view
- Local appointment reminder notifications
Start the backend before running this Flutter app.
- Open the backend repository: devpatel516/MediTrack-Backend
- Follow the backend README to install dependencies, configure environment variables, and start the server
- Confirm the backend is running properly
- Then come back to this repository and start the Flutter frontend
Make sure you have:
- Flutter SDK installed
- Dart SDK installed
- Android Studio or VS Code with Flutter support
- An Android emulator, iOS simulator, or physical device
To verify Flutter is ready:
flutter doctor- Clone this repository
git clone <this-repo-url>
cd internship- Install Flutter dependencies
flutter pub get- Run the app
flutter runThe frontend currently points to this backend base URL in lib/api_service.dart:
static const String baseUrl = 'https://meditrack-api-gxb1.onrender.com/api';If you want to use your local backend instead, update the baseUrl value in [lib/api_service.dart] to match your local server URL.
Example:
static const String baseUrl = 'http://localhost:5000/api';Note: if you test on a physical phone or Android emulator, localhost may need to be replaced with your machine IP or emulator-specific host.
flutter pub get
flutter run
flutter test
flutter clean- Flutter
- Dart
providerhttpflutter_secure_storagespeech_to_textawesome_notifications
lib/
api_service.dart
auth_provider.dart
main.dart
screens/
auth_check.dart
doctor_appointments_screen.dart
doctor_dashboard.dart
login_screen.dart
patient_dashboard.dart
register_screen.dart
splash_screen.dart
- Secure tokens are stored using
flutter_secure_storage - Notifications are used for appointment reminders
- AI note extraction depends on backend support being available