Created by: Heet Shah, Alyn Kosasi, Angela Huang, Selina Wu
MedX is a React Native app built using Expo that utilizes NLP, OCR, and machine learning to analyze drug labels, predict interactions, and provide risk assessments. It integrates with Firebase for authentication and data storage while maintaining a sleek and interactive UI.
- AI-driven drug interaction analysis
- OCR-based medication label scanning
- Secure authentication using Firebase
- User profile and personalizations
- Chatbot-based medical assistant and FAQ
- Elegant animations and intuitive UI
We utilize the OpenFDA API to fetch drug-related data, including side effects, interactions, and detailed drug information. This helps MedX provide accurate predictions and warnings about potential drug interactions based on a user's medication input.
The Gemini API is integrated to enhance our chatbot-based medical assistant. It leverages advanced NLP models to provide personalized responses, answer medical-related queries, and offer real-time assistance in analyzing drug interactions.
Ensure you have the following installed:
- Node.js (LTS recommended) - Download
- npm or yarn
- Expo CLI - Install globally using:
npm install -g expo-cli- Android Studio (for Android emulator) OR Xcode (for iOS simulator)
- Expo Go app (for running on a real device) - Download for Android | Download for iOS
Clone the repository and install dependencies:
git clone https://github.com/hxxtsxxh/MedX.git
cd MedX
npm install # or yarn install- Create a Firebase project in Firebase Console.
- Add your Firebase configuration in
firebaseConfig.js.
- Visit aistudio.google.com for Gemini API
- Visit open.fda.gov/apis for OpenFDA API
Ensure your phone and development machine are on the same network.
npx expo startScan the QR code using Expo Go on your mobile device.
- Open Android Studio and start an emulator.
- Run:
npx expo start- Press
ain the terminal to launch the app on the emulator.
- Open Xcode and start an iOS simulator.
- Run:
npx expo start- Press
iin the terminal to launch the app on the simulator.