This is a simple shopping list web application that allows users to add items to a cart and see real-time updates using Firebase Realtime Database. This project is my first Firebase project, demonstrating basic integration of Firebase with a frontend web app. πΎ
- Add items to the shopping list π
- Real-time synchronization of the list using Firebase Realtime Database π
- Remove items from the list by clicking on them β
- Simple and clean user interface π¨
- Cat-themed design with adorable cat images π
- HTML
- CSS
- JavaScript (ES6 Modules)
- Firebase Realtime Database
- Open the
index.htmlfile in a modern web browser. π - Enter an item name in the input field. π±
- Click the "Add to cart" button to add the item to the shopping list. β
- The list will update in real-time, showing all items stored in Firebase. π
- Click on any item in the list to remove it. πΎ
The app is connected to a Firebase Realtime Database instance. The configuration is included in the index.js file, which initializes the Firebase app and connects to the database.
index.html- Main HTML page πindex.css- Stylesheet for the app π¨index.js- JavaScript logic including Firebase integration π»functions.js- Utility functions (currently contains a simple add function) β- Various image assets and favicon files π±
This project serves as an introduction to Firebase and real-time web applications. It can be extended with additional features such as user authentication, item categories, and more. πΎ