ConfirMed

Smarter and safer self-administration of medications

ConfirMed Logo

Overview

By Joshua Lau, Ansh Desai, Ella Myslo, and Joshua Cheuk.

ConfirMed is a comprehensive medication management platform that helps patients safely identify and track their medications while maintaining clear communication with healthcare providers. Using advanced machine learning for pill recognition and an intuitive user interface, ConfirMed makes medication management more reliable and stress-free.

Repository Structure

The repository is a mono-repo containing the source code for the web application, API service, and mobile app. Additionally, the backend is provided by Supabase -- a cloud PostgreSQL database with a REST API and easy authentication.

confirMed/
├── app/
│   ├── web/        # SvelteKit web application
│   ├── api/        # Flask API with ML model
│   └── app/        # Expo React Native mobile app

Applications

Web Application (/app/web)

  • Built with SvelteKit
  • Styled using TailwindCSS and ShadCN-svelte
  • Features:
    • Patient medication tracking
    • Medication interaction warnings
    • Side effect tracking

API Service (/app/api)

  • Flask-based REST API
  • Custom machine learning model for pill recognition
  • Features:
    • Image processing pipeline
    • Drug identification
    • Interaction checking

Mobile App (/app/app) [WIP]

  • Built with Expo React Native
  • Features:
    • Medication scanning
    • Schedule management
    • Reminder system
    • Direct communication with healthcare providers
    • Offline functionality

Getting Started

Prerequisites

  • Node.js 18+
  • Python 3.9+
  • iOS 13+ or Android 9+

Installation

  1. Clone the repository:
git clone https://github.com/confirMed/confirMed.git
cd confirMed
  1. Install web dependencies and run the development server:
cd app/web
npm install
npm run dev
  1. Install API dependencies and run the API server:
cd ../api
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python app.py
  1. Install mobile app dependencies and start the development server:
cd ../app
npm install
npx expo start

Disclaimer

Note: This application is intended to assist with medication management but should not be used as the sole method of verification. Always consult healthcare providers and read medication labels carefully.

License

This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes