Gas24h_7App is an online gas ordering application that allows users to easily search, place orders, and manage their orders directly from their mobile devices. The app provides a user-friendly interface, real-time order tracking, and various modern features to enhance the shopping experience.
- 🚀 Place gas orders with just a few simple steps.
- 📦 Track orders in real-time.
- 🛒 Manage your shopping cart easily.
- 🔔 Receive instant notifications via WebSocket when order status updates.
- 🗨 Review and rate products with images/videos.
- 📞 Chat support with the admin for quick assistance.
- 🛒 Cart Management: Add/remove products from the cart.
- 🛍 Quick Ordering: Multiple options for ordering gas.
- 📦 Order Tracking: View order status in real-time.
- 🗨 Review & Rating System: Users can submit reviews with images/videos.
- 🔔 Real-time Notifications: WebSocket-based notifications from the admin.
- 📞 Chat with Admin: One-on-one chat for each order.
- Language: Kotlin
- UI: Jetpack Compose & XML
- Backend: Spring Boot + MongoDB
- Key Libraries:
- Retrofit (API calls)
- Glide (Image processing)
- WebSocket (Real-time notifications)
- Dagger 2 (Dependency injection)
- Navigation Component (Screen navigation)
- Zing QR (QR Code generation)
- TravisHuyProgressBar (Enhanced UI progress tracking)
- Firebase Authentication (User login and registration)
- Firestore (Cloud database for user and order data)
git clone https://github.com/yourusername/gas24h_7app.git
cd gas24h_7app- Download
google-services.jsonfrom Firebase Console and place it in theapp/directory.
- Open with Android Studio
- Select a virtual or physical device
- Click Run (
Shift + F10)
The app connects to the backend deployed on Render:
- Base URL:
https://mongodb-csvv.onrender.com/ - Main Endpoints:
GET travishuy/notifications/all- Get all notificationsGET travishuy/notifications/{id}- Get detail notification by IdPOST travishuy/notifications/add- Create a new notificationPUT travishuy/notifications/edit/{id}- Edit notificationDELETE travishuy/notifications/{id}- Delete notification
-
🏠 Dashboard
-
🏠 Home
-
🛒 Shopping Cart
-
📦 Order
-
🔍 Search Products
-
📷 Scanner
-
⭐ Review Products
-
🛠 Admin Home
-
➕ Add Product
-
✏ Edit Product
-
🗑 Remove Product
-
🎟 Add Voucher
-
📑 All QR Voucher
-
🆕 Create Voucher
-
🔔 Add Notification
-
📊 Revenue Statistics
-
💬 Chat
You can contribute by following these steps:
- Fork the repository 🍴
- Create a new branch (
git checkout -b feature-x) - Commit your changes (
git commit -m "Add feature x") - Submit a pull request 📩
This project is licensed under the MIT License. You are free to use, modify, and distribute the code for personal or commercial purposes. However, the software is provided "as-is" without any warranty, and the author (TravisHuy) is not responsible for any issues that may arise from its use. For more details, please refer to the full license text.
