Skip to content

DocApoint is a comprehensive healthcare and wellness platform that streamlines appointment scheduling, delivers personalized health insights, and offers tailored diet and exercise recommendations using a built-in ML model. Experience efficient healthcare and proactive wellness with DocApoint.

License

Notifications You must be signed in to change notification settings

HARIOM317/DocApoint-Doctor-Appointment-WebApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DocApoint - Comprehensive Healthcare Management & Wellness Platform

Build Status License: MIT Repo Size Contributions Welcome

DocApoint is a full-stack MERN application designed to streamline healthcare management while promoting overall wellness. With a modern, premium look powered by Ant Design components, DocApoint offers role-based dashboards for doctors, patients, and administrators. In addition to appointment scheduling and management, the platform now features an innovative health dashboard with advanced analytics and a machine learning model to recommend personalized exercises, diets, and lifestyle adjustments based on user goals and health symptoms.

DocApoint


Table of Contents


πŸ§‘πŸΌβ€πŸ’» Overview

DocApoint is a comprehensive healthcare management and wellness platform that caters to the diverse needs of doctors, patients, and administrators. Beyond managing appointments, the platform now includes a robust health dashboard where users can monitor essential health metrics, such as water intake, calorie consumption, and sleep patterns, and receive personalized recommendations based on machine learning analysis. This ensures not only efficient healthcare management but also proactive wellness guidance.


✨ Features

Common Features

  • Role-Based Dashboards:
    • Admin Dashboard: Manage system operations, user roles, and permissions.
    • Doctor Dashboard: Efficiently manage appointments with auto-generated 15-minute slots, interact with patients, and manage digital prescriptions and invoices.
    • Patient Dashboard: Book appointments, track appointment history, and interact with doctors.

New & Enhanced Features

  • Health Dashboard:

    • Track vital health metrics like water intake, calorie intake, sleep duration, and more.
    • Visualize health trends through interactive graphs and charts.
  • Personalized ML Recommendations:

    • Test your health by symptoms and get a recommended doctor, exercises and diet according to your symptoms.
    • Receive tailored exercise and diet plans based on your health data and goals (e.g., weight gain, weight loss).
    • Get suggestions on activities and foods to avoid for better health outcomes.
  • Additional Functionalities:

    • Digital Prescription & Invoicing for seamless documentation.
    • Integrated Rezopay Payment Gateway for secure transactions.
    • Advanced search and filter options for finding doctors by expertise, experience, and location.
    • Blog publishing feature for doctors.
    • Automated email notifications for appointment updates and system alerts.

πŸ›  Tech Stack

  • Frontend: React, Ant Design
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Payment Integration: Rezopay
  • Authentication: JWT with role-based access control
  • Machine Learning: Integrated ML model for personalized exercise and diet recommendations

βš™ Installation & Setup

Prerequisites

  • Node.js (v16+)
  • MongoDB
  • npm or yarn

Steps

  1. Clone the repository:

    git clone https://github.com/HARIOM317/DocApoint-Doctor-Appointment-WebApp.git
    cd DocApoint-Doctor-Appointment-WebApp
    
  2. Install dependencies:

    npm install
    
  3. Configure environment variables: Create a .env file in the root directory and add the following variables:

    # MongoDB Connection
    DATABASE_URL=<your_postgresql_connection_string>
    
    # JSON Web Token (JWT) configuration
    JWT=<your_jwt_token>
    JWT_SCRET=<your_jwt_secret>
    JWT_EXPIRED_IN=<jwt_expiration_time>         # e.g., 30d
    JWT_REFRESH_SECRET=<your_jwt_refresh_secret>
    JWT_SCRET_SALT_ROUND=<salt_round_number>       # e.g., 10
    
    # Server configuration
    PORT=<your_app_port>                           # e.g., 5000
    NODE_ENV=<your_environment>                    # e.g., production or development
    
    # Default passwords for roles (ensure to change for production)
    DOCTOR_PASS=<default_doctor_password>
    PATIENT_PASS=<default_patient_password>
    
    # Cloudinary configuration
    CLOUND_NAME=<your_cloudinary_cloud_name>
    API_KEY=<your_cloudinary_api_key>
    API_SECRET=<your_cloudinary_api_secret>
    
    # Email configuration
    EMAIL_PASS=<your_cloudnarry_email_password>
    ADMIN_EMAIL=<your_cloudnary_email_address>
    GMAIL_APP_EMAIL=<gmail_app_email_address>
    
    # Client URLs
    CLIENT_URL=<your_client_url>                   # e.g., http://localhost:3000/
    CLIENT__LOCAL_URL=<your_client_local_url>        # e.g., http://localhost:3000/
    
    # Razorpay configuration
    RAZORPAY_API_KEY=<your_razorpay_api_key>
    RAZORPAY_APT_SECRET=<your_razorpay_api_secret>
    
  4. Run the application:

    npm start
    

πŸš€ Usage

After starting the application, navigate to the appropriate dashboard based on your role:

Admin Dashboard: http://localhost:3000/admin/dashboard

Doctor Dashboard: http://localhost:3000/dashboard/appointments

Patient Dashboard: http://localhost:3000/dashboard/

Physical Exercises: http://localhost:3000/health/exercise

Recommend Diets: http://localhost:3000/health/diets

Test Symptoms: http://localhost:3000/health/test-health-by-symptoms


🀝 Contributing

We ❀️ your contributions! Please follow these steps for any contribution:

  1. Fork the Repository
  2. Clone Your Fork
    git clone https://github.com/HARIOM317/DocApoint-Doctor-Appointment-WebApp.git
    cd DocApoint-Doctor-Appointment-WebApp
  3. Create a New Branch
    git checkout -b feature/your-feature-name
  4. Make Your Changes & Commit
    git add .
    git commit -m "✨ Add [feature/fix]: description"
  5. Push to Your Fork & Create a PR
    git push origin feature/your-feature-name
  6. Submit a Pull Request on GitHub πŸš€

πŸ“œ License

DocApoint is licensed under the MIT License. You can view the Full License here.


πŸ“© Contact

For further information, feedback, or support, please reach out:

DocApoint – Empowering healthcare and wellness through technology.

About

DocApoint is a comprehensive healthcare and wellness platform that streamlines appointment scheduling, delivers personalized health insights, and offers tailored diet and exercise recommendations using a built-in ML model. Experience efficient healthcare and proactive wellness with DocApoint.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •