Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

SatyamPote/cureconnect

Repository files navigation

CureConnect - Real-time Medicine Finder & Healthcare Companion

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.

Home Page

🚀 Key Features

1. Real-time Medicine Search

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.

Search Results

2. AI Pharmacist Chatbot

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.

AI Chatbot

3. Prescription Analysis

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.

Upload Prescription

4. Emergency SOS Mode

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).

Emergency SOS

5. Smart Reminders & History

Never miss a dose or a refill.

  • Refill Alerts: Automatic reminders based on your purchase history.
  • Active Courses: Track your daily medicine intake.

6. Teleconsultation

Connect with doctors from home.

  • Browse available specialists.
  • Book video consultations instantly.

7. Partner Dashboard

Empowering pharmacies to manage their business.

  • Inventory Management: Real-time stock updates.
  • Order Processing: Manage incoming orders efficiently.

🛠️ Tech Stack

  • 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

� Project Structure

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

�📦 Installation & Setup

  1. Clone the repository

    git clone https://github.com/yourusername/cureconnect.git
    cd cureconnect
  2. Install dependencies

    npm install
  3. Environment Setup Create a .env file in the root directory and add your Google Gemini API Key:

    GEMINI_API_KEY=your_api_key_here
  4. Run Locally

    npm run dev

    The app will start at http://localhost:3000.

  5. Build for Production

    npm run build

    The output will be in the dist folder.


🧪 Demo Credentials

To test the application, you can use the following demo credentials or create a new account:

User Account:

Partner Account (Pharmacy Owner):


🔧 Troubleshooting

  • AI Features Not Working?

    • Ensure your GEMINI_API_KEY is correctly set in the .env file.
    • Restart the development server after changing .env.
  • 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 hasSeenTour flag to see it again.

🗺️ Future Roadmap

  • 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.

🔒 Security

  • Role-Based Access: Secure login for Users and Pharmacy Partners.
  • Data Privacy: User data and prescriptions are handled securely.

© 2025 CureConnect. All rights reserved.

About

..

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages