This repository was archived by the owner on Jan 14, 2026. It is now read-only.
Repository navigation
Testing Infrastructure Setup and Add Medicine Functionality
Direct Links
Presentation Deck
Backend
- GitHub Repository: DoseMate-backend
- Pull Request: Update README with full quick setup instructions — #5
- Pull Request: add unit test and coverage test, making full coverage 86% — #6
- Pull Request: Add medicine api call— #7
Submitted Files
Frontend
- GitHub Repository: DoseMate-mobile
- Pull Request: Frontend UI Implementation — #3
- Pull Request: Ci and setting up GitHub Actions checks — #4
- Pull Request: Frontend testing using Jest — #5
- Pull Request: updated CI workflows + added check to tests passing — #8
- Pull Request: Add medication search — #10
Submitted Files
- .github/workflows/code_quality_check.yml
- .github/workflows/unit_tests_check.yml
- dosemate/tests/OnboardingStart.test.tsx
- dosemate/tests/onboarding/CreateAccount.test.tsx
- dosemate/tests/onboarding/PrivacyScreen.test.tsx
- dosemate/tests/onboarding/ProfileSetupScreen.test.tsx
- dosemate/tests/onboarding/TutorialScreen.test.tsx
- dosemate/tests/MainNavigationScreen.test.tsx
- dosemate/components/main-navigation/AddMedicationScreen.tsx
- dosemate/components/main-navigation/MedicationList.tsx
- dosemate/components/main-navigation/OCR.tsx
Roadmap Update
Since the last release (v1.0.7), the DoseMate team has expanded the app’s functionality and strengthened the testing infrastructure.
This release (v1.0.8) focuses on adding medicine management features and configuring testing pipelines for both frontend and backend.
We’ve integrated OpenFDA APIs for medicine data retrieval, implemented search and image upload capabilities, and configured Jest for test automation.
Summary of changes:
On the Frontend:
- Added the Add Medicine feature to search for medications through APIs or by uploading images (camera/gallery).
- Integrated calls to
/autocompleteand/medicine/searchAPIs to fetch and display relevant medicine data. - Implemented OpenFDA integration for retrieving medicine information.
- Configured Jest testing framework, enabling lint, type check, and format validation.
- Added unit and coverage tests for all core screens to ensure UI stability.
On the Backend:
- Added new backend routes for medicine search using OpenFDA API.
- Enhanced backend testing with expanded unit and integration coverage (now at 86%).
- Improved database logic for dynamic medicine ingestion.
- Refined environment configuration and CORS handling to support new APIs.
Roadmap Change Details
UI/UX
🧩 Issue: #14, #7, #20
- Developed and integrated the Add Medicine feature on mobile.
- Implemented medicine search via API and image upload (camera/gallery).
- Enhanced accessibility and layout consistency across medication and onboarding flows.
- Added OpenFDA data display within medication search results.
Backend Architecture
🧩 Issue: #14, #9, #20, #40
This issue established the infrastructure and testing foundation for medication APIs and CI/CD integration:
- Added
/medicine/searchand/autocompleteroutes calling OpenFDA API. - Improved async handling and error management in API layer.
- Expanded backend unit and integration test coverage to 86%.
- Integrated test utilities into CI workflow for automated coverage tracking.
- Implemented Jest and type-checking pipelines on frontend for unified testing.
Milestone Update
- ✅ Add Medicine API and UI completed.
- ✅ Jest testing configured and integrated into CI/CD.
- ✅ Backend test coverage increased to 86%.
- 🔄 Refining camera-based medicine recognition, create a medicines table in the database for tracking
- 🔜 Next milestone: Implement push notifications and reminder scheduling.
Roadmap Adjustments
Short-term:
- Improve image-based medicine recognition.
- Add scheduling functionality for the added medicines.
- Add push notifications and dosage reminders.
- Enhance UI/UX theme (nice to have!)