GenRx is an intelligent healthcare platform designed to make medicine affordable and accessible for Indians. It utilizes advanced AI agents to search, analyze, and recommend cheaper Generic Alternatives to expensive brand-name medicines
By integrating real-time data from Jan Aushadhi Kendras and other reputable pharmacies, GenRx empowers users to save on their medical bills without compromising on quality
- AI-Powered Medicine Search: Smart agents compare prices across standard pharmacies and government Jan Aushadhi stores.
- Verified Generic Alternatives: Automatically identifies active salts and suggests cost-effective generic substitutes.
- Elderly Friendly Mode: One-click accessibility toggle that increases font size and contrast for better readability.
- Multi-Language Support: Full UI translation for English, Hindi (हिंदी), Marathi (मराठी), Tamil (தமிழ்), Telugu (తెలుగు), and Bengali (বাংলা)
- Store Locator: Find nearby Jan Aushadhi Kendras with geolocation support.
- Responsive Design: Optimized for seamless experience across mobile, tablet, and desktop devices.
- Secure Admin Access: Frontend authentication layer for administrative control (Demo).
- Frontend: React.js, Vite, Tailwind CSS
- Backend (Logic): Python, FastAPI, LangChain, Groq (LLM), SerpAPI
- Backend (Proxy): Node.js, Express
- AI/LLM: gpt-oss-120b via Groq for intelligent agentic reasoning
Follow these steps to set up the project locally.
- Node.js & npm installed
- Python 3.8+ installed
- API Keys for Groq and SerpAPI
git clone https://github.com/prajesh8484/GenRx.git
cd GenRxNavigate to the python backend service.
cd backend_python
python -m venv venv
source venv/bin/activate # On Windows use: venv\Scripts\activate
pip install -r ../requirements.txtCreate a .env file in backend_python/ and add your keys:
GROQ_API_KEY=your_groq_key
SERPAPI_API_KEY=your_serpapi_keyStart the Python Server:
python backend.py
# Runs on http://localhost:8000Open a new terminal and navigate to the node backend.
cd backend_node
npm installStart the Node Server:
npm run dev
# Runs on http://localhost:3000Open a new terminal and navigate to the UI folder.
cd genrx-ui
npm installStart the React App:
npm run dev
# Runs on http://localhost:5173