π Revolutionizing Healthcare - Your all-in-one solution for managing OPD queues, real-time bed tracking, and inventory management.
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.
- 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.
- 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).
- 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.
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.
- 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.
- React.js
- TypeScript
- WebSocket
- Recoil
- React Router
- Axios
- CSS3 / Tailwind
- Node.js
- Express.js
- PostgreSQL
- Prisma
- socket.io
- Zod
- RESTful APIs
- JWT
- Flask
- Pandas
π§© Setup Steps
git clone https://github.com/btwshivam/Care-Sync.git
cd care-sync
# 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
-
Install PostgreSQL and create a database named
care_sync
:CREATE DATABASE care_sync;
-
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;
JWT_SECRET = "secret"
PORT = "3000"
DATABASE_URL = "postgresql://postgres:postgres@localhost:5432/care_sync"
npm run migrate
npm run db:setup
# Navigate to client directory
cd ../client
# Install dependencies
npm install
# Start development server
npm run dev
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
.
This project is licensed under the MIT License.