A comprehensive telehealth application designed to facilitate remote patient management, virtual consultations, and intelligent symptom analysis via an integrated chatbot.
- Requirements
- Features
- Tech Stack
- System Diagram
- Installation Guide
- Running the Application
- Project Structure
- License
- Node.js (v14 or higher) and npm/yarn for the frontend and backend
- Python (v3.7 or higher) and a virtual environment for the symptom prediction service
- [Optional] Docker for containerized deployment
- User Interface: Responsive frontend built with React and Vite.
- Real-time Communication: Seamless integration between frontend and backend components.
- Virtual Consultations: Support for patient-doctor interactions.
- Symptom Prediction: Machine learning analysis using a pre-trained ANN model.
- Chatbot Integration: AI-powered chatbot for primary symptom assessment.
- Secure Authentication: User management and authorization to ensure data privacy.
- Frontend: React, Vite, Tailwind CSS
(vite.config.js, tailwind.config.js) - Backend: Node.js (check server/backend/index.js for details)
- Symptom Prediction Service: Python with a pre-trained ANN model (app.py)
- Styling: CSS with Tailwind & PostCSS (postcss.config.js)
+-------------------+
| End Users |
+---------+---------+
|
V
+-------------------+ REST API calls
| Frontend App | <----------------------+
| (React & Vite) | |
+---------+---------+ |
| |
V |
+-------------------+ |
| Backend API | -----------------------+
| (Node.js) |
+---------+---------+
|
V
+-------------------------+
| Symptom Prediction |
| Service (Python) |
+-------------------------+
- Navigate to the
frontenddirectory:cd frontend - Install dependencies:
npm install
- Start the development server:
npm run dev
- Navigate to the
server/backenddirectory:cd server/backend - Install dependencies:
npm install
- Start the backend server in development mode:
npm run start-dev
- Navigate to the
server/symptoms_predictiondirectory:cd server/symptoms_prediction - Set up a Python virtual environment:
python -m venv venv source venv/bin/activate # On Windows use: venv\Scripts\activate
- Install the required Python packages:
pip install -r requirements.txt
- Run the Python application:
python app.py
- Frontend: Available at http://localhost:3000 (or as printed in your terminal).
- Backend: Accessible at http://localhost:5000 or a custom port as configured.
- Symptom Prediction Service: Running on the port specified in your Python app configuration (commonly http://localhost:8000).
Telehealth_Platform/
├── README.md
├── frontend/
│ ├── .eslintrc.cjs
│ ├── .gitignore
│ ├── config.js
│ ├── index.html
│ ├── package.json
│ ├── postcss.config.js
│ ├── README.md
│ ├── tailwind.config.js
│ ├── vite.config.js
│ ├── public/
│ │ └── vite.svg
│ └── src/
│ ├── App.css
│ ├── App.jsx
│ ├── index.css
│ ├── main.jsx
│ ├── assets/
│ ├── components/
│ ├── context/
│ ├── Dashboard/
│ ├── hooks/
│ ├── layout/
│ ├── pages/
│ ├── routes/
│ └── utils/
└── server/
├── backend/
│ ├── .gitignore
│ ├── index.js
│ ├── package.json
│ ├── auth/
│ ├── Controllers/
│ ├── models/
│ └── Routes/
└── symptoms_prediction/
├── ann_model.pkl
├── app.py
├── Doctor_Versus_Disease.csv
└── ... other files ...
This project is licensed under the MIT License. See the LICENSE file for details.