Skip to content

Revolutionizing healthcare with AI-powered OPD queue management, real-time bed tracking, and smart inventory control. Enhancing efficiency, reducing wait times, and ensuring seamless hospital operations for better patient care.

License

Notifications You must be signed in to change notification settings

btwshivam/Care-Sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ₯CareSync - Smart Hospital Management SystemπŸ₯

MIT License React TypeScript WebSocket Recoil Axios Node.js Express.js PostgreSQL Prisma Socket.io Flask Pandas

ReadMeBanner πŸš€ Revolutionizing Healthcare - Your all-in-one solution for managing OPD queues, real-time bed tracking, and inventory management.

🌟 Why CareSync?

Imagine a world where patients never wait endlessly in OPD queues, hospitals always know their bed availability in real-time, and inventory never runs out of essential supplies. CareSync makes this a reality by integrating AI, real-time data, and predictive analytics to create a seamless experience for patients and healthcare providers.

πŸš€ Key Features

πŸ₯ 1. OPD Queue Management

  • Real-time Tracking: Monitor patient queues and track waiting times.
  • Online Appointment Scheduling: Allow patients to book appointments online.
  • Patient Notifications & Alerts: Send updates to patients regarding their appointment status.
  • Digital Registration: Patients can register digitally.

πŸ›οΈ 2. Real-time Bed Availability

  • Live Monitoring: View real-time occupancy status for each bed.
  • Emergency Bed Allocation: Allocate beds quickly in critical situations.
  • Sorting & Filtering: Filter beds based on status (occupied, vacant, under maintenance).

🩺 3. Patient Admission System

  • Streamlined Process: Automate and simplify patient admissions for efficient processing.
  • Integrated Patient Info: Store patient history and medical information for quick access.
  • Coordination Tools: Integrated tools for doctor-nurse collaboration on patient care.

πŸ“¦ 4. Inventory Management

Stock Monitoring: Track inventory levels of medicines and consumables.

  • Automated Alerts: Receive notifications when stock is low or nearing expiry.
  • Usage Analytics: Generate reports on inventory usage, helping with future stock forecasting.

πŸ” 5. User Roles and Authentication

  • Role-Based Access: Different roles for Doctors, Patients, Receptionists, and Admins.
  • Secure Authentication: Secure login and data encryption for all users.
  • Admin Control: Admins can manage user roles and system settings.

Screenshot 2025-03-15 225228 Screenshot 2025-03-15 230111 Screenshot 2025-03-15 230129 Screenshot 2025-03-15 230200 Screenshot 2025-03-15 230447 Screenshot 2025-03-15 230518 Screenshot 2025-03-15 230558

πŸ› οΈ Tech Stack

Frontend πŸ–₯️

  • React.js
  • TypeScript
  • WebSocket
  • Recoil
  • React Router
  • Axios
  • CSS3 / Tailwind

Backend πŸ’»

  • Node.js
  • Express.js
  • PostgreSQL
  • Prisma
  • socket.io
  • Zod
  • RESTful APIs
  • JWT

AI/ML πŸ€–

  • Flask
  • Pandas

πŸ› οΈ Installation Guide

🧩 Setup Steps

1. Clone the Repository

git clone https://github.com/btwshivam/Care-Sync.git
cd care-sync

2. Backend Setup

# Navigate to backend directory
cd server

# Install dependencies
npm install

# Create environment file
cp .env.example .env

# Follow step 3 & 4

# Start development server
npm run dev

3. Database Setup

  1. Install PostgreSQL and create a database named care_sync:

    CREATE DATABASE care_sync;
    
  2. Create a PostgreSQL user (or use the default postgres user):

    CREATE USER postgres WITH PASSWORD 'postgres';
    GRANT ALL PRIVILEGES ON DATABASE care_sync TO postgres;
    

4. Update the .env file with your database credentials:

JWT_SECRET = "secret"
PORT = "3000"
DATABASE_URL = "postgresql://postgres:postgres@localhost:5432/care_sync"

5. Set up the database schema:

npm run migrate
npm run db:setup

6. Frontend Setup

# Navigate to client directory
cd ../client

# Install dependencies
npm install

# Start development server
npm run dev

⚠️ Troubleshooting

Common Issues

  • If you encounter database connection issues, verify your PostgreSQL credentials and ensure the database is running.
  • For client-server connection issues, check that both applications are running and the backend URL is correctly configured in client/backendroute.ts.

πŸ“œ License

This project is licensed under the MIT License.

❀️ If you find this project helpful, please give us a ⭐ and share it with others!

About

Revolutionizing healthcare with AI-powered OPD queue management, real-time bed tracking, and smart inventory control. Enhancing efficiency, reducing wait times, and ensuring seamless hospital operations for better patient care.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published