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
frontend
directory:cd frontend
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Navigate to the
server/backend
directory:cd server/backend
- Install dependencies:
npm install
- Start the backend server in development mode:
npm run start-dev
- Navigate to the
server/symptoms_prediction
directory: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.