Wellify is a comprehensive healthcare management platform designed to assist patients and doctors in managing health-related tasks efficiently. It includes features like disease prediction, medical report analysis, appointment scheduling, and a chatbot assistant for health-related queries.
- Users can select symptoms to predict potential diseases using a machine learning model.
- Provides detailed information about the predicted disease, including precautions, medications, diet, and workout recommendations.
- Doctors can upload medical reports in PDF format.
- Extracts key information like patient details, diagnosis, and generates a summary.
- Patients can book appointments with doctors.
- Doctors can view and manage upcoming appointments.
- Provides daily wellness tips categorized into nutrition, exercise, mental health, and sleep.
- A chatbot to assist users with health-related queries.
- Supports real-time conversation with a user-friendly interface.
- Separate profiles for patients and doctors.
- Doctors can manage their specializations, qualifications, and experience.
- React: For building the user interface.
- React Router: For navigation and routing.
- Tailwind CSS: For styling.
- DaisyUI: For pre-designed UI components.
- Axios: For API requests.
- Flask: For building the backend API.
- MongoDB: For storing user and appointment data.
- PyMuPDF: For extracting text from PDF files.
- Scikit-learn: For the machine learning model.
Here is a README.md file for your project based on the provided context:
# Wellify
Wellify is a comprehensive healthcare management platform designed to assist patients and doctors in managing health-related tasks efficiently. It includes features like disease prediction, medical report analysis, appointment scheduling, and a chatbot assistant for health-related queries.
## Features
### 1. Disease Prediction
- Users can select symptoms to predict potential diseases using a machine learning model.
- Provides detailed information about the predicted disease, including precautions, medications, diet, and workout recommendations.
### 2. Medical Report Analyzer
- Doctors can upload medical reports in PDF format.
- Extracts key information like patient details, diagnosis, and generates a summary.
### 3. Appointment Management
- Patients can book appointments with doctors.
- Doctors can view and manage upcoming appointments.
### 4. Wellness Tips
- Provides daily wellness tips categorized into nutrition, exercise, mental health, and sleep.
### 5. Chatbot Assistant
- A chatbot to assist users with health-related queries.
- Supports real-time conversation with a user-friendly interface.
### 6. User Profiles
- Separate profiles for patients and doctors.
- Doctors can manage their specializations, qualifications, and experience.
### 7. Admin Features
- Admins can view all users and manage the platform.
---
## Tech Stack
### Frontend
- React: For building the user interface.
- React Router: For navigation and routing.
- Tailwind CSS: For styling.
- DaisyUI: For pre-designed UI components.
- Axios: For API requests.
### Backend
- Flask: For building the backend API.
- MongoDB: For storing user and appointment data.
- PyMuPDF: For extracting text from PDF files.
- Scikit-learn: For the machine learning model.
---
### Project Structure
Wellify/
├── frontend/
│ ├── public/ # Static assets
│ ├── src/
│ │ ├── components/ # Reusable React components
│ │ ├── pages/ # Page-level components
│ │ ├── store/ # Zustand state management
│ │ ├── constants/ # App-wide constants
│ │ ├── App.jsx # Main app component
│ │ ├── main.jsx # React entry point
│ │ └── index.css # Global styles
│ ├── package.json # Frontend dependencies
│ └── vite.config.js # Vite configuration
├── backend/
│ ├── src/
│ │ ├── models/ # Mongoose models
│ │ ├── controllers/ # Express API controllers
│ │ ├── routes/ # API route handlers
│ │ ├── lib/ # Utility/helper functions
│ │ └── server.js # Express server entry point
│ ├── datasets/ # CSVs for symptoms, medications, etc.
│ ├── svc_model.pkl # Trained ML model for disease prediction
│ ├── app.py # Flask app for disease prediction
│ ├── Report.py # Flask app for report analysis
│ ├── package.json # Backend dependencies (Node.js)
│ └── .env # Environment variables
└── README.md # Project documentation (optional but recommended)
- Node.js
- Python 3.x
- MongoDB
-
Clone the Repository
git clone https://github.com/your-repo/wellify.git cd wellify -
Setup Backend
cd backend python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install -r requirements.txt python app.py # Start the Flask server
-
Setup Frontend
cd frontend npm install npm run dev # Start the development server
-
Run MongoDB Ensure MongoDB is running locally or update the connection string in the backend
.envfile.
-
Disease Prediction
- Navigate to the "Predict Disease" page.
- Select symptoms and submit to get predictions.
-
Medical Report Analyzer
- Doctors can upload PDF reports on the "Report Analyzer" page.
-
Appointments
- Patients can book appointments, and doctors can manage them.
-
Chatbot
- Click the chatbot icon to interact with the Wellify Assistant.
- GET
/api/symptoms: Get a list of symptoms. - POST
/api/predict: Predict disease based on symptoms.
- POST
/upload: Upload a PDF report for analysis.
- Fork the repository.
- Create a new branch.
- Make your changes and commit them.
- Push to your fork and submit a pull request.
This project is licensed under the MIT License.






