Skip to content

The Chatbot is an application where users may ask queries related to mental health and related conditions such as depression, anxiety, PTSD etc. The aim of the project was to spread mental health awareness and to answer users’ queries. The project was implemented using ReactJS for the front-end, a flask framework and Python for the Backend.

Notifications You must be signed in to change notification settings

ashwathkris/BonBot-A-chatbot-for-Mental-health

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 BonBot — A Mental Health Support Chatbot

Team 72: Awimmowe

Welcome to BonBot, a chatbot designed to provide mental health support using a friendly and interactive interface. 💬


🚀 How to Run the Project (Step-by-Step Guide)

Follow these instructions to get BonBot running on your local machine:


🗂 1. Unzip the Project Files

Make sure you unzip both of these files:

  • src.zip
  • public.zip

Put their contents into the same project folder.


📦 2. Install Required Dependencies

Open a terminal (or command prompt) in the project folder, and run:

npm install

This will install all the necessary Node.js packages for the frontend.


▶️ 3. Start the React Frontend

Still in the same terminal, start the React development server:

npm start

This will launch the chatbot interface in your browser (usually at http://localhost:3000).


🧪 4. Run the Flask Backend (Python API)

In a new terminal window, navigate to the project directory and run:

py final.py

This starts the backend server that powers the chatbot's responses.

Make sure you have Python installed. If the command py doesn’t work, try python instead.


📽️ Demo

Want to see how it works before trying? 👉 Watch the Demo on YouTube


✅ All Set!

Once both servers are running:

  • The frontend (React) will handle the user interface
  • The backend (Flask) will respond to user messages

You're now ready to chat with BonBot! 💬✨

About

The Chatbot is an application where users may ask queries related to mental health and related conditions such as depression, anxiety, PTSD etc. The aim of the project was to spread mental health awareness and to answer users’ queries. The project was implemented using ReactJS for the front-end, a flask framework and Python for the Backend.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages