A modern React application for searching and comparing medicine prices across multiple pharmacies (1mg, Apollo, PharmEasy, TrueMeds, NetMeds).
- Multi-Pharmacy Search: Search for medicines across 5 major online pharmacies simultaneously.
- Price Comparison: View and compare prices to find the best deal.
- Pincode Serviceability: Check if delivery is available in your area using your pincode.
- Live Location: Automatically detect your location and pincode for accurate results.
- OCR Medicine Extraction: Upload a prescription image to extract medicine names automatically.
- Responsive Design: Optimized for both desktop and mobile devices.
- Framework: React (Vite)
- Styling: CSS / Tailwind
- State Management: React Hooks
- API Integration: Fetch API
-
Install Dependencies
npm install
-
Environment Variables Create a
.envfile in thefrontenddirectory:VITE_API_URL=http://localhost:3000
-
Run Development Server
npm run dev
src/pages/SearchPage.jsx: Main search interface and logic.src/pages/LandingPage.jsx: Home page with pharmacy logos.src/components: Reusable UI components.