mirror of
https://github.com/shaulascr/ecommerce_serang.git
synced 2025-08-10 09:22:21 +00:00
Update README.md
This commit is contained in:

committed by
GitHub

parent
7f01914cb0
commit
c6c1c9f348
52
README.md
52
README.md
@ -22,37 +22,30 @@ This Android app includes:
|
|||||||
|
|
||||||
The app communicates with a custom backend server via REST API and WebSocket. The backend service is currently private and tailored for this project.
|
The app communicates with a custom backend server via REST API and WebSocket. The backend service is currently private and tailored for this project.
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Project Structure
|
## Project Structure
|
||||||
app/
|
├── api/retrofit/ # API service and Retrofit client setup
|
||||||
├── src/
|
├── data/ # Data layer (DTOs, responses, repositories)
|
||||||
│ └── main/
|
├── di/ # Dependency injection modules (Hilt)
|
||||||
│ ├── java/com/yourappname/
|
├── ui/ # User interface components
|
||||||
│ │ ├── api/
|
│ ├── auth/ # Authentication screens
|
||||||
│ │ │ └── retrofit/ # ApiService.kt, Retrofit client setup
|
│ ├── home/ # Home screen components
|
||||||
│ │ ├── data/
|
│ ├── cart/ # Shopping cart functionality
|
||||||
│ │ │ ├── dto/
|
│ ├── order/ # Order management
|
||||||
│ │ │ ├── response/
|
│ ├── chat/ # Chat features
|
||||||
│ │ │ └── repository/
|
│ ├── profile/ # User profile
|
||||||
│ │ ├── di/ # Hilt dependency injection modules
|
│ ├── product/ # Product catalog
|
||||||
│ │ ├── ui/
|
│ └── notif/ # Push notifications handling
|
||||||
│ │ │ ├── auth/ # Login, register, OTP verification
|
├── utils/ # Utility classes and helper functions
|
||||||
│ │ │ ├── home/
|
|
||||||
│ │ │ ├── cart/
|
app/src/main/res/ # Android resources
|
||||||
│ │ │ ├── order/ # Order history, detail, and status
|
|
||||||
│ │ │ ├── chat/
|
├── layout/ # XML layout files
|
||||||
│ │ │ ├── profile/
|
├── drawable/ # Images and drawable resources
|
||||||
│ │ │ └── product/
|
├── values/ # Strings, colors, dimensions
|
||||||
| | | └── notif/ # Socket.IO client setup and event handling
|
└── navigation/ # Navigation graph files
|
||||||
│ │ ├── utils/
|
|
||||||
│ │ └── App.kt
|
google-services.json # Firebase configuration for push notifications
|
||||||
│ └── res/
|
|
||||||
│ ├── layout/
|
|
||||||
│ ├── drawable/
|
|
||||||
│ ├── values/
|
|
||||||
│ └── navigation/
|
|
||||||
├── google-services.json # Firebase config for push notifications
|
|
||||||
|
|
||||||
## How to Run
|
## How to Run
|
||||||
|
|
||||||
@ -62,5 +55,4 @@ app/
|
|||||||
5. Settings BASE_URL in your local.properties
|
5. Settings BASE_URL in your local.properties
|
||||||
4. Build and run on an emulator or physical device
|
4. Build and run on an emulator or physical device
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user