Recommender system built from the NAFDAC database that contributes to the fight against fake drugs in Nigeria by allowing users to cross-verify authentic medications.
# Drug Recommender System (NAFDAC Database)
github.com
## Overview
This project is a **Drug Recommender System** built using the official NAFDAC (National Agency for Food and Drug Administration and Control) products database. It helps users find similar or alternative drugs by recommending medications based on name, type, or function. Additionally, it displays the NAFDAC Registration Number of any drug in the database.
Built with **Python**, **Hugging Face Sentence Transformers**, and deployed using a **Flask web application**, this project contributes to the fight against fake drugs in Nigeria by allowing users to cross-verify authentic medications.
## Key Features
- Drug Recommendation Engine using Sentence Embeddings.
- Real-time drug search with NAFDAC registration number display.
- Scraped directly from NAFDAC product database.
- 🇳🇬 Built to support public health and safety in Nigeria.
### Installation
1. **Clone the Repository**
```bash
git clone
github.com
cd NAFDAC-drug-Database
```
2. **Create a Virtual Environment**
```bash
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
```
3. **Install Dependencies**
```bash
pip install -r requirements.txt
```
4. **Run the Flask App**
```bash
python app.py
```
Visit `
127.0.0.1` in your browser.
---
## Dataset
* Drug product data was scraped from the official NAFDAC Products Database.
---
## Future Improvements
* **Automatic Sync** with NAFDAC product database for real-time drug updates.
* **Public Deployment** to serve hospitals, pharmacies, and consumers across Nigeria.
* Integration with mobile platforms (Android/iOS).
* API Access for developers and 3rd-party health platforms.
---
## 🤝 Contributing
Contributions are welcome! You can fork the repository and open a pull request to suggest changes or improvements.