Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

CareConnect - Bridging You to Better Health

Model_Comparison

CareConnect is an AI-powered, full-stack healthcare web application designed to simplify appointment booking, patient management, and doctor-patient interactions. Built with a modern tech stack, it supports secure authentication, real-time dashboards, AI assistants, all in one integrated system.


🚀 Features

🔹 Core Functionalities

  • View & Filter Doctors by Specialty
  • Book & Manage Appointments
  • Role-based Authentication: Patient, Doctor, Admin
  • Doctor & Admin Dashboards
  • Profile Management for all users

👤 For Users

  • Register and login securely
  • Update and manage profile with image uploads
  • View available doctors and book appointments
  • Pay online for appointments
  • View, cancel, and track appointment status

👩‍⚕️ For Doctors

  • Register and login securely
  • Manage profile including specialization and available slots
  • View booked appointments and appointment history

⚙️ Admin

  • Monitor all users and doctors
  • Create and manage docotor's profile
  • Manage platform-wide data

🤖 AI-Powered Tools (Medical AI Suite)

  • AskMed: AI Health Assistant for general health queries using Gemini AI
  • MedImageAI: Image-based medical analysis using Gemini AI Vision
  • MindEase: Mental Health Conversational Chatbot using Gemini AI

🔐 Authentication

  • JWT-based login system
  • Separate tokens for users and doctors
  • Middleware protects private routes

🛠 Tech Stack

Frontend

  • React.js
  • Axios
  • Tailwind CSS
  • Toastify for alerts
  • Context API for global state management
  • Google Generative AI SDK

Backend

  • Node.js
  • Express.js
  • MongoDB with Mongoose
  • Cloudinary for image uploads
  • JWT for authentication
  • Multer for file handling

AI Integration

  • Google Gemini AI (Gemini 1.5 Pro)
  • Direct integration in React components
  • Real-time chat interfaces
  • Medical image analysis
  • Mental health support

🚀 Setup Instructions

1. Clone the repository

git clone https://github.com/addittidas/CareConnect.git
cd CareConnect

2. Setup Backend

Create a .env file in the backend/ directory with the following:

MONGODB_URI=your_mongodb_uri
CLOUDINARY_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_SECRET_KEY=your_api_secret
JWT_SECRET=your_jwt_secret
ADMIN_EMAIL=mail
ADMIN_PASSWORD=pwd

Create a mongodb.js file in the backend/config/ directory with the mongodb details.

Now start the backend server:

cd backend
npm start server

3. Run Frontend

cd frontend
npm run dev

Click on the link generated.

4. Run Admin

cd admin
npm run dev

Click on the link generated.

5. Configure AI Services

Important: You need to set up your Gemini API key for the AI features to work.

  1. Get your API key from Google AI Studio
  2. Create a .env file in the frontend/ directory:
REACT_APP_GEMINI_API_KEY=your_gemini_api_key_here

For detailed AI setup instructions, see: frontend/AI_SETUP.md

6. Access AI Features

Once configured, you can access the AI features directly in your browser:

  • AskMed: Navigate to /medicalai/ask-med in your frontend app
  • MedImageAI: Navigate to /medicalai/med-image-ai in your frontend app
  • MindEase: Navigate to /medicalai/mind-ease in your frontend app

All AI features are now integrated directly into the React frontend - no separate Python servers needed!


📜 License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors