MediPrice is a fast, transparent medicine price comparison web application. It empowers patients, caregivers, and medical professionals to compare costs for prescription and cash-pay medicines across local pharmacies. Because retail prices can vary by up to 50% even within the same city, MediPrice aims to curb unnecessary health expenditures by bringing clarity and equity to pharmacy pricing.
- Instant Medicine Search: Search by medicine name, generic alternative, strength, and pack size to find what you need.
- Price Comparison & Ranking: Instantly view the pricing spread across nearby pharmacies, with the cheapest highlighted.
- Map View & Directions: Interactive mapped pins displaying cost comparisons (green for cheapest, red for expensive) alongside direct navigation functionality.
- Favorites & Price Alerts: Save regular prescriptions to track historical price changes or prepare for localized price drops.
- Frontend: Next.js (App Router), React, TypeScript, Tailwind CSS, Framer Motion
- Backend: Python (FastAPI) (In Progress)
- Database / Auth: PostgreSQL, Supabase SSR
- Mapping: Mapbox / Google Maps SDK integration
-
Clone the repository:
git clone https://github.com/imrohan18/MediPrice.git cd MediPrice -
Frontend Setup: Navigate into the frontend directory:
cd frontend npm install -
Configure Environment Variables: Create a
.env.localfile in thefrontenddirectory and provide your Supabase keys:NEXT_PUBLIC_SUPABASE_URL=your-supabase-project-url NEXT_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key
-
Run the Development Server:
npm run dev
The application will be accessible at http://localhost:3000.
- Open the app and navigate to the homepage.
- Enter a medicine name (e.g., "Paracetamol 500mg" or "Atorvastatin") in the central search bar.
- Click "Compare".
- Browse the ranked list of pharmacies. You can view the per-unit cost, total price, and the latest timestamp of the price update.
- Select a pharmacy to view its location on the embedded map and launch directions.
We welcome community contributions to help improve MediPrice! To get started:
- Fork the repository and make your changes in a dedicated branch (e.g.,
feature/awesome-new-featureorbugfix/price-display). - Follow our existing TypeScript standard and components structure.
- Commit your changes and open a Pull Request explaining what you added/fixed.
- For major changes, please open an issue first to discuss what you would like to tackle.
Created to ensure transparent and affordable healthcare options for everyone.