Skip to content

KaranShah1911/CareConnect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 

Repository files navigation

🩺 CareConnect

Frontend
Backend

Live Demo (Patient): https://care-connect-black.vercel.app/

Live Demo (Admin & Doctor): https://care-connect-doctor.vercel.app/

Welcome to CareConnect — your trusted role-based doctor appointment platform designed to seamlessly connect patients with verified healthcare professionals. Experience secure, fast, and hassle-free booking and management of medical appointments all in one place.


🧠 Overview

What is CareConnect?

CareConnect is a comprehensive medical appointment system that supports three core roles:

  • Users (Patients): Explore doctors, book, and manage appointments effortlessly.
  • Doctors: Manage schedules, view upcoming & past appointments.
  • Admins: Onboard doctors after verification and manage cancellations.

With robust authentication (Google OAuth + JWT tokens), CareConnect ensures that your sessions and sensitive medical data are safe and accessible only to authorized users.

Why Choose CareConnect?

  • 🔐 Secure Authentication: Protect your sessions using industry-standard JWT tokens combined with Google OAuth
  • 👥 Role-Based Access Control: Different dashboards and functionalities for Users, Doctors, and Admins
  • ☁️ Smooth Integration: Manage your appointments efficiently in a sleek UI powered by React and Tailwind CSS
  • 🛠️ Modern Tech Stack: Using Node.js, Express.js & MongoDB for a fast and scalable backend

🛠️ Tech Stack

Frontend

Backend

Database

Authentication

Deployment


📁 File Structure

careconnect/
├── backend/ # Node + Express backend
│ ├── config/
│ ├── controllers/
│ ├── middlewares/
│ ├── models/
│ ├── routes/
│ ├── utility/
│ └── server.js
│
├── frontend/ # Frontend (Vite + React)
│ ├── adminanddoctor/
│ │ └── src/
│ │ ├── components/
│ │ ├── constants/
│ │ ├── layouts/
│ │ ├── pages/
│ │ └── store/
│ │
│ └── my-app/
│ ├── components/
│ ├── constants/
│ ├── layouts/
│ ├── pages/
│ ├── store/
│ └── styles/

🚀 Getting Started (Local Setup)

Prerequisites

  • Node.js installed
  • MongoDB running locally or accessible via MongoDB Atlas
  • Git installed

Step 1: Clone the repository

git clone https://github.com/DARSHITSHAH-2906/CareConnect
cd CareConnect


Step 2: Setup Frontend

Navigate to the frontend directory:
cd frontend

Create a .env file:

VITE_API_URL=http://localhost:3000

Setup User Frontend

cd my-app
npm install
npm run dev
Frontend will run at: http://localhost:5173

Setup Admin and Doctor Frontend

Open a new terminal and run:

cd frontend/adminanddoctor/my-app
npm install
npm run dev
Frontend will run at: http://localhost:5174


Step 3: Setup Backend

Navigate to the backend directory:

cd ../../backend

Create a .env file and add your configuration:

MONGODB_URI=your_MONGODB_URI CLOUDINARY_CLOUD_NAME=your_CLOUDINARY_CLOUD_NAME CLOUDINARY_API_KEY=your_CLOUDINARY_API_KEY CLOUDINARY_API_SECRET=your_CLOUDINARY_API_SECRET ADMIN_EMAIL=your_ADMIN_EMAIL ADMIN_PASS=your_ADMIN_PASS JWT_SECRET=your_JWT_SECRET GOOGLE_CLIENT_ID=your_GOOGLE_CLIENT_ID GOOGLE_CLIENT_SECRET=your_GOOGLE_CLIENT_SECRET FRONTEND_URL=http://localhost:5173

Install dependencies:
npm install

Start the backend server:
npm start

The backend will run at: http://localhost:3000


👨‍💻 Contributors

Open for contributions! Feel free to submit issues and PRs!


🖼️ Screenshots

User Dashboard Doctor Dashboard Admin Dashboard
UserView DoctorView AdminView

CareConnect — Bringing quality healthcare appointments to your fingertips with trust, security, and speed.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages