CureConnect is a comprehensive healthcare platform designed to bridge the gap between patients and pharmacies. It provides real-time medicine availability, AI-powered health assistance, and emergency services, all wrapped in a modern, user-friendly interface.
Find medicines instantly across a network of local pharmacies and hubs.
- Smart Search: Search by brand name or generic name.
- AI Interpretation: Can't remember the exact spelling? Our AI interprets your query (e.g., "headache" -> "Paracetamol").
- Filters: Filter by "Hubs Only" or "Local Stores".
- Price Sort: Find the most affordable options.
Your 24/7 health assistant powered by Google Gemini.
- Ask about medicine side effects, dosage, or alternatives.
- Get instant, safe, and concise health information.
- Context-Aware: Remembers your conversation history for better assistance.
Upload your prescription and let AI do the work.
- Image Recognition: Automatically extracts medicine names and dosages from prescription images.
- One-Click Add: Add extracted medicines directly to your cart.
- Earn Rewards: Get points for every valid prescription upload.
Critical support when you need it most.
- One-Tap Access: Dedicated SOS button in the header.
- 24/7 Pharmacies: Instantly find open pharmacies near you.
- Emergency Contacts: Quick access to Ambulance (108) and Police (100).
Never miss a dose or a refill.
- Refill Alerts: Automatic reminders based on your purchase history.
- Active Courses: Track your daily medicine intake.
Connect with doctors from home.
- Browse available specialists.
- Book video consultations instantly.
Empowering pharmacies to manage their business.
- Inventory Management: Real-time stock updates.
- Order Processing: Manage incoming orders efficiently.
- Frontend: React, TypeScript, Vite, Tailwind CSS
- Backend/Database: Firebase (Firestore, Auth)
- AI Integration: Google Gemini API (via Google Gen AI SDK)
- State Management: React Context API
- Routing: React Router DOM
- Icons: Lucide React
- Tours: Driver.js
cureconnect/
├── src/
│ ├── components/ # Reusable UI components (Header, PharmacyCard, AIChatbot, etc.)
│ ├── pages/ # Main application pages (HomePage, CartPage, etc.)
│ ├── services/ # API and Database services (firebase.ts, geminiService.ts)
│ ├── context/ # Global state management (AppContext.tsx)
│ ├── types/ # TypeScript interfaces and types
│ └── constants.ts # Mock data and configuration constants
├── dist/ # Production build output
└── public/ # Static assets
-
Clone the repository
git clone https://github.com/yourusername/cureconnect.git cd cureconnect -
Install dependencies
npm install
-
Environment Setup Create a
.envfile in the root directory and add your Google Gemini API Key:GEMINI_API_KEY=your_api_key_here
-
Run Locally
npm run dev
The app will start at
http://localhost:3000. -
Build for Production
npm run build
The output will be in the
distfolder.
To test the application, you can use the following demo credentials or create a new account:
User Account:
- Email:
[email protected] - Password:
password
Partner Account (Pharmacy Owner):
- Email:
[email protected] - Password:
password
-
AI Features Not Working?
- Ensure your
GEMINI_API_KEYis correctly set in the.envfile. - Restart the development server after changing
.env.
- Ensure your
-
Location Not Detected?
- Allow browser location permissions when prompted.
- If denied, the app defaults to a central location in Bangalore for demonstration.
-
Tour Not Showing?
- The tour only shows for new users. Create a new account or clear your browser data/Firestore
hasSeenTourflag to see it again.
- The tour only shows for new users. Create a new account or clear your browser data/Firestore
- Mobile App: Native iOS and Android apps using React Native.
- Blockchain Integration: Secure supply chain tracking for medicines.
- Advanced Telemedicine: Integrated video calling within the platform.
- Multi-Language Support: Localized interface for broader accessibility.
- Role-Based Access: Secure login for Users and Pharmacy Partners.
- Data Privacy: User data and prescriptions are handled securely.
© 2025 CureConnect. All rights reserved.