This Next.js project website is designed to help users find the interaction between drugs by providing information about the medications they are taking. You can find the website link in About section of the github repo or just click here. In order to fill the DB, I used python version of mongoDB client from which I read the data csvs, made dataframes and then uploaded the entries to mongoDB.
To get started, clone the project repository and run npm install
in the root directory to install all dependencies. Then run npm run dev
to start the development server. The website will be available at http://localhost:3000.
- Make sure you have latest version of nodejs and next js installed
- Run
npm install
to install all dependencies - Add an .env file with the following variables
MONGODB_URI
andDB_NAME
to the root directory of the project - Run the server using the following command:
npm run dev
- Nextjs
- Bootstrap 5
- MongoDB
- Formik
- Python
To use the Drug Interaction Checker, simply add the name of the medications you are taking using the input field and click "Check Interactions". The website will then display a list of potential drug interactions, along with information about the severity of the interaction.
- DDInter database.
If you would like to contribute to this project, please feel free to fork the repository and submit a pull request with your changes. I welcome contributions from anyone who is interested in improving the website.
This project is licensed under the MIT License. Feel free to use it however you like.
The results of interactions are based on the current knowledge and some interactions that do exist may have not been identified. Information provided here is for reference and researches only, not any medical advice.
- Aluminum hydroxide
- Dolutegravir
- Aprepitant
- Abacavir
- Orlistat
- Dexamethasone