Skip to content

Suryansh-asati/Well-Being-Hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

46 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Well Being Hub

A comprehensive mental wellness platform designed to support emotional well-being through various therapeutic resources and interactive features.

๐ŸŒŸ Overview

Well Being Hub is a web-based application that provides users with multiple therapeutic approaches to mental wellness, including audio therapy, yoga therapy, educational resources, and interactive games. The platform aims to be a one-stop solution for stress relief and emotional healing.

๐Ÿš€ Features

Core Services

  • Audio Therapy: Curated music playlists, podcasts, and audiobooks for relaxation
  • Yoga Therapy: Guided yoga poses with detailed instructions and benefits
  • Laughing Therapy: Memes, videos, and laughter exercises for mood enhancement
  • Educational Resources: Information on hygiene, science, and art & craft
  • Mindfulness Game: Interactive maze game to promote positive thinking

Additional Features

  • Chatbot Integration: AI-powered support for user queries
  • User Authentication: Secure login and signup functionality
  • Responsive Design: Mobile-friendly interface
  • Progressive Web App: Offline functionality with service worker
  • Interactive UI: Smooth animations and transitions

๐Ÿ› ๏ธ Technology Stack

Frontend

  • HTML5: Semantic markup structure
  • CSS3: Custom styling with responsive design
  • JavaScript: Interactive functionality and DOM manipulation
  • AOS (Animate On Scroll): Smooth scroll animations
  • Bootstrap: CSS framework for responsive components

Libraries & Frameworks

  • Typed.js: Typewriter effect animations
  • Owl Carousel: Image and content carousels
  • Font Awesome: Icon library
  • Google Fonts: Typography enhancement

Backend & Database

  • PHP: Server-side scripting for authentication
  • MySQL: Database for user management
  • Firebase: Authentication services

Development Tools

  • Service Worker: PWA functionality
  • Lottie: Animation library for interactive elements

๐Ÿ“ Project Structure

Well-Being-Hub/
โ”œโ”€โ”€ assets/                 # Images and media files
โ”œโ”€โ”€ css/                   # Stylesheets
โ”‚   โ”œโ”€โ”€ style.css         # Main styles
โ”‚   โ”œโ”€โ”€ audio.css         # Audio therapy styles
โ”‚   โ”œโ”€โ”€ yoga.css          # Yoga therapy styles
โ”‚   โ”œโ”€โ”€ laugh.css         # Laughing therapy styles
โ”‚   โ”œโ”€โ”€ education.css     # Education section styles
โ”‚   โ”œโ”€โ”€ game.css          # Game interface styles
โ”‚   โ””โ”€โ”€ specialTherapy.css # Chatbot styles
โ”œโ”€โ”€ htmls/                # HTML pages
โ”‚   โ”œโ”€โ”€ audioTherapy.html
โ”‚   โ”œโ”€โ”€ yogatherapy.html
โ”‚   โ”œโ”€โ”€ laughTherapy.html
โ”‚   โ”œโ”€โ”€ education.html
โ”‚   โ”œโ”€โ”€ game.html
โ”‚   โ”œโ”€โ”€ specialTherapy.html
โ”‚   โ””โ”€โ”€ login.html
โ”œโ”€โ”€ js/                   # JavaScript files
โ”‚   โ”œโ”€โ”€ script.js
โ”‚   โ”œโ”€โ”€ game.js
โ”‚   โ”œโ”€โ”€ script-login.js
โ”‚   โ””โ”€โ”€ serviceworker.js
โ”œโ”€โ”€ index.html            # Main landing page
โ”œโ”€โ”€ login.php             # Login functionality
โ”œโ”€โ”€ signup.php            # User registration
โ””โ”€โ”€ manifest.json         # PWA manifest

๐ŸŽฏ Key Pages

1. Home Page (index.html)

  • Hero section with typewriter animation
  • Services overview
  • About section
  • FAQ section
  • Footer with navigation links

2. Audio Therapy (htmls/audioTherapy.html)

  • Spotify playlist integration
  • Curated audiobook collection
  • Podcast recommendations
  • Relaxing nature sounds

3. Yoga Therapy (htmls/yogatherapy.html)

  • Detailed yoga pose instructions
  • Benefits of each asana
  • Video tutorials
  • Progress tracking

4. Game Section (htmls/game.html)

  • Interactive mindfulness maze
  • Positive thinking exercises
  • Score tracking system
  • Restart functionality

5. Chatbot (htmls/specialTherapy.html)

  • AI-powered conversation
  • Mental health support
  • Lottie animations
  • User-friendly interface

๐ŸŽจ Design Features

Visual Elements

  • Modern UI: Clean and intuitive interface design
  • Responsive Layout: Optimized for all device sizes
  • Dark Theme: Eye-friendly color scheme
  • Smooth Animations: AOS library for scroll animations
  • Custom Scrollbar: Enhanced user experience

User Experience

  • Loading Animations: Engaging preloaders
  • Interactive Elements: Hover effects and transitions
  • Accessibility: Semantic HTML and ARIA labels
  • Cross-browser Compatibility: Works across modern browsers

๐Ÿš€ Getting Started

Prerequisites

  • Web server (Apache/Nginx)
  • PHP 7.4 or higher
  • MySQL database
  • Modern web browser

Installation

  1. Clone the repository

    git clone <repository-url>
    cd Well-Being-Hub
  2. Set up the database

    • Create a MySQL database named mindmate
    • Update database credentials in signup.php and login.php
  3. Configure Firebase

    • Update Firebase configuration in js/script-login.js
  4. Start the server

    # Using PHP built-in server
    php -S localhost:8000
    
    # Or configure with Apache/Nginx
  5. Access the application

    • Open http://localhost:8000 in your browser

๐Ÿ”ง Configuration

CSS Compatibility

Several CSS files include Safari vendor prefixes for backdrop-filter:

-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);

This ensures compatibility across browsers, particularly Safari 9+ and iOS Safari 9+.

Service Worker

The application includes a service worker (js/serviceworker.js) for offline functionality and caching.

๐Ÿ“ฑ Progressive Web App

The application is configured as a PWA with:

  • Offline functionality
  • App manifest for installation
  • Service worker for caching
  • Mobile-responsive design

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

๐Ÿ“„ License

This project is open source and available under the MIT License.

๐Ÿ“ž Contact

๐Ÿ”ฎ Future Enhancements

  • Mobile app development
  • AI-powered mood tracking
  • Community features
  • Advanced analytics
  • Multilingual support
  • Integration with wearable devices

Well Being Hub - Your Partner in Emotional Wellness and Healing ๐Ÿง˜โ€โ™€๏ธโœจ

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •