CoC Inheritance 2023 || CodeCrafters
Table of Contents
Mental health problems are a major public health issue, affecting millions of people around the world. Many people with mental health problems do not seek help, due to stigma, fear, or lack of access to care.Mental health websites can play a vital role in providing information and support to people with mental health problems and their loved ones.The Website has following features
-
Health Chatbot: We have used LLama-2 model and fine tuned it with hugging face dataset.The model returns health advice according to user inputs (Hugging Face Dataset:https://huggingface.co/datasets/vibhorag101/phr_mental_therapy_dataset)
-
Login/Signup pages:user authentication is required to access features of this website.
-
Profile:Users can view and enter their profile details, such as their name, age, gender and write reviews.
-
Journaling:A react based webpage which allows users to maintain a digital journal where they can record their thoughts, feelings, and experiences. Therapeutic practice that helps individuals process their emotions and track their mental health progress over time.
-
Habit Tracking:Users can create custom habits to track, such as exercise, meditation, medication adherence, sleep patterns, or social interactions.
-
Personal stories:This section features real-life narratives and testimonials shared by individuals who have experienced mental health challenges, recovery journeys, or personal growth.
- HTML
- CSS
- Bootstrap
- JavaScript
- ReactJS
- ReactJS
- ExpressJS
- Mongoose
- Python
- Flask
- Flask , Flask_ngrok
- Ngrok
- MongoDB
- Transformers
- Accelerate
- Peft
- Bitsandbytes
- Torch
- Langchain
- Chatbot
- Login-Signup and logout functionality
- Journaling with update and delete functionality
- Profile page displaying biodata
- Fetch data using API
- Personality Test
- Habit tracker
- Personal stories
- Nearby professional healthcare location
- Connecting to therapist as a middleware
We have combined multiple functionalities into a single website with a user friendly chatbot. This website involves wellness features to help the users, a platform to connect, and a help-providing chatbot.
Clone the repository:
Open a terminal window.
Bash
git clone https://github.com/meggha/MentalHealthNavigator
Navigate to the project directory:
In the terminal window, use the cd command to change directory to the folder where you cloned the repository. For example, if you cloned the repository into a folder named my-app, type:
Bash
cd my-app
Install frontend dependencies:
Navigate to the client directory within the project:
Bash
cd client
Install the required frontend dependencies by running:
Bash
npm install
Install backend dependencies:
Navigate back to the project root directory:
Bash
cd ..
Go to the server directory:
Bash
cd server
Install the required backend dependencies by running:
Bash
npm install
In Windows, press Windows + R, type cmd, and press Enter. In macOS/Linux, open your preferred terminal application.
In both terminal windows, use the cd command to change directory to the root of your project folder. This folder should contain both client and server subdirectories.
In one terminal window, type cd client and press Enter. This changes directory to the client subfolder. Then, type npm start and press Enter. This will start the frontend development server.
In the other terminal window, type cd server and press Enter. This changes directory to the server subfolder. Then, type npm run devStart and press Enter. This will start the backend development server.
- If you have GPU then make sure you have cuda installed and then run app.py
- Or you can also run server.ipynb on colab. After running this you will get a link in the output. Make sure to replace the link in
client\src\bot\ActionProvider.jsx
line 12
Open a web browser. In the address bar, type http://localhost:3000. This opens the frontend app running on the development server.
Additional notes:
- The frontend app will automatically reload in the browser whenever you make changes to the code.
- You may see console messages related to the development process in both terminal windows.
- Remember to stop the servers (Ctrl+C in most terminals) when you're done to avoid resource usage.
Add names of your team members with their emails and links to their GitHub accounts
- Megha Wadher: [email protected]
- Parth Belose: [email protected]
- Sushant Bagul: [email protected]
- Pranjali Narote: [email protected]
Add names of your mentors with their emails and links to their GitHub accounts