It includes a Flask backend with a chatbot that simulates a professional therapist and friend, a frontend built with HTML, Tailwind CSS, and JavaScript for user interaction
# Features
- Chatbot with two modes: Therapist and Friend
- Exercises to help manage emotions
- Important helpline numbers for support
- Frontend built with HTML, Tailwind CSS, and JavaScript
- Backend built with Python and Flask
### Prerequisites
- Python 3.x installed
- pip installed
### Installation
1. Navigate to the project directory:
``
cd emotional-support-app
``
2. Install required Python packages:
```bash
pip install flask flask-cors
```
### Running the Backend Server
Run the Flask backend server:
```bash
python app.py
```
The backend server will start on http://127.0.0.1:5000
.
### Running the Frontend
Open the index.html
file in a web browser. You can open it directly or serve it using a simple HTTP server:
```bash
python -m http.server 8000
```
Then open http://localhost:8000/emotional-support-app/index.html
in your browser.
### Usage
- Use the chatbot section to chat with the bot in Therapist or Friend mode.
- Explore the exercises section for helpful emotional support exercises.
- Refer to the helpline numbers for immediate assistance.
we have build this project during hackathon period we faced many code error and fix it
no