Tea Addicts

Overview

Tea Addicts is a fun and interactive web application that allows users to count the number of sips of tea taken globally. Each time a user clicks the “Sip Some Tea” button, the counter increments, and a random sipping sound is played. The global count is stored and synchronized using Firebase Firestore.

Features

  • Real-time global tea sip counter
  • Random sipping sounds for each sip
  • Responsive design
  • Error handling for network issues

Setup

To set up the project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Exonymos/projects.git
    cd projects/tea-addicts
    

    or download the folder as a ZIP file from GitHub

  2. Install dependencies: This project uses Firebase, so make sure you have an internet connection to load the Firebase SDKs.

  3. Configure Firebase:

    • Create a Firebase project at Firebase Console.
    • Replace the Firebase configuration in js/app.js with your project’s configuration.
  4. Run the project: Open index.html in your web browser.

Usage

  • Open the web application.
  • Click the “Sip Some Tea” button to increment the global sip counter.
  • Enjoy the random sipping sounds!

Contributing

We welcome contributions! To contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add some feature').
  5. Push to the branch (git push origin feature-branch).
  6. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.