Patient Tracker is a healthcare management software designed to help doctors efficiently monitor and manage their patients' health. The system allows doctors to track health trends, manage medications, and receive alerts for critical health updates. Patients can log their symptoms, adhere to medication schedules, and stay connected with their doctors through a user-friendly interface.
- Signup & Login: Separate routes for patients and doctors using a role-based authentication system.
- Security: Password encryption and role-based access control.
- Patient Management: View, add, or update patient information.
- Health Monitoring: Access patients' health metrics like blood pressure, blood sugar, heart rate, etc.
- Alerts System: Get notifications for missed medications and critical health updates.
- Messaging System: Send messages to patients about medication dosages and alerts.
- Health Logs: Patients can log symptoms, medications, and other health data.
- Medication Reminders: Receive alerts for medication schedules.
- Reports: View graphical reports of health trends over time.
- Customizable Modules: Enable or disable disease-specific modules (like diabetes or hypertension) based on patient needs.
- Real-time Tracking: Track and display real-time data for various health metrics.
- Tables:
User
(for authentication and roles)Patient
(for patient-specific data)Doctor
(for doctor-specific data)MedicalRecord
(for storing health data)Alert
(for medication reminders and alerts)Message
(for communication between doctors and patients)
- Relationships: Properly normalized with foreign keys for efficient querying.
- Frontend: React with Tailwind CSS
- Backend: Node.js with Express
- Database: PostgreSQL managed through Prisma ORM
- Authentication: JWT-based authentication for secure access
- Styling: Tailwind CSS for a clean and responsive UI
- Clone the repository:
git clone https://github.com/yourusername/patient-tracker.git && cd patient-tracker
- Install dependencies:
npm install
- Configure PostgreSQL:
- In the
.env
file, update your PostgreSQL URL:DATABASE_URL="postgresql://postgres:[email protected]:5432/pt1?schema=public" TOKEN_SECRET="mysecret"
- In the
- Run Prisma migrations:
npx prisma migrate dev
- Start the application:
npm run start
- Appointment Scheduling: Allow patients to book and manage appointments.
- Payment Integration: Support for online payments for consultations.
- AI-based Recommendations: Suggest medications and health tips based on patient history.
- Password encryption using bcrypt.
- Role-based access control for secure data access.
- Secure API endpoints with JWT.