Skip to content

AIMedFinder/aimedfinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AiMedFinder: Equivalent Medication Finder

A web application that helps travelers find equivalent medications across different countries. Simply enter a medication from your home country, and find its equivalent in your destination country. The app also checks for potential drug interactions with your current medications.

Find a running version at https://aimedfinder.com/

Feel free to report bugs and suggest improvements on our Github! This project was developped at the 24 hours "NY after dark hackathon" by Entrepreneur First on October 26 and 27, 2024 - we're making it open source.

Setup

1. Backend Setup (Flask)

cd backend-flask
# Create a virtual environement using conda or venv
conda create -n aimedfinder python=3.9
conda activate aimedfinder
pip install -r requirements.txt

# Create .env file with your environment variables:
cp .env.example .env
# Edit .env with your supabase credentials and API keys

2. Frontend Setup (Next.js)

cd frontend-next-14
npm install

# Create .env file with your environment variables:
cp .env.example .env
# Edit .env with your API endpoints

Running the Application

  1. Start the Backend:
cd backend-flask
conda activate aimedfinder
python main.py
  1. Start the Frontend (in a new terminal):
cd frontend-next-14
npm run dev
  1. Open your browser and navigate to http://localhost:3000

Database

The database is not made public yet, but we're working on it!

The data was scraped from https://www.drugs.com and may not be 100% accurate. You can still use the app at https://aimedfinder.com/

Tech Stack

  • Frontend: Next.js 14, Tailwind CSS
  • Backend: Flask, Python
  • Database: Supabase
  • Scraping: R

Usage

  1. Enter countries of origin and destination, medication name, and current medications you might be taking to check for potential interactions.
  2. Click "Find Equivalent" to search for the equivalent drug.
  3. The result page will display the equivalent drug, active compounds, and alert for potential interactions.

Contributing

Feel free to fork this repository and submit pull requests for any improvements or bug fixes.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors