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.
Quick Links
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:
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
Install dependencies: This project uses Firebase, so make sure you have an internet connection to load the Firebase SDKs.
Configure Firebase:
- Create a Firebase project at Firebase Console.
- Replace the Firebase configuration in
js/app.js
with your project’s configuration.
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:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.