This is an Android application for an ecommerce platform. It allows users to browse products 🍅🥕, add them to their cart 🛒, make purchases 💰, track orders 📦, and chat with a AI customer service 💬. The app provides a user-friendly interface ✨ and seamless navigation for an optimal shopping experience 👍.
- Product Browsing: Explore a wide range of products categorized for easy navigation 🧭.
- Product Detail View: View detailed information about products, including images 📸, descriptions 📝, and reviews ⭐.
- Shopping Cart: Add and manage products in your shopping cart 🛒.
- Order Placement: Securely place orders and choose from multiple payment options 💳.
- Order Tracking: Track the status of your orders in real-time ⏳.
- Customer Support Chat: Chat with a customer service representative for assistance using generative AI 🤖.
- Clone the repository:
git clone https://github.com/minhhoccode/Ecommerce-Vegetable-App.git
- Open the project in Android Studio.
- Sync the project with Gradle files.
- Set up Firebase:
- Create a Firebase project and connect it to your Android app.
- Download the
google-services.jsonfile and place it in your project'sappdirectory. - Enable email/password authentication in Firebase console.
- Create and Populate the Database:
- Install Firebase Admin SDK:
pip install firebase-admin
- Prepare Data: Replace
"Your Firebase Admin SDK JSON file"and"Your Firebase Database URL"inCreateFirebase.pywith your actual credentials and database URL. - Run Script:
This script will:
python CreateFirebase.py
- Connect to your Firebase project.
- Read product data from
extracted_data.json. - Format and clean the data.
- Upload each product as a document in the "products" collection in your Firebase database.
- Install Firebase Admin SDK:
- Build and run the app on an emulator or physical device 📱.
- Launch the app 🚀.
- Browse or search for products 🔍.
- Select a product to view its details 👀.
- Add products to your cart 🛒.
- Proceed to checkout to place an order ✅.
- Track your order status 🚚.
- Use the chat feature for customer support 💬.
Contributions to this project are welcome 🙌. To contribute:
- Fork the repository 🍴.
- Create a new branch for your feature or bug fix 🌿.
- Make your changes and commit them 🚀.
- Push your changes to your forked repository 📤.
- Submit a pull request 🙏.
This project is licensed under the GPL-3.0 License.


