How alperenimam0glu/food-order-app works
Project Type and Purpose
• This is a native Android mobile application (“Food-Order-App”) written in Kotlin.
• It follows MVVM (Model-View-ViewModel) architecture with dependency injection (Hilt).
• The app displays lists of food items, supports user authentication, shopping cart, favorites, order placement, and uses both a remote API (Retrofit) and local cache (Room/SQLite).
File Structure
• Top level:
• app/src/main/java/com/example/foodorderapp/ui → Presentation layer (Fragments, Adapters).
• app/src/main/java/com/example/foodorderapp/ui/viewmodel → ViewModel layer.
• app/src/main/java/com/example/foodorderapp/data → Data layer:
– datasource (LocalDataSource, RemoteDataSource)
– model (DTOs, database entities)
– repository (abstractions + implementations)
– retrofit (RetrofitClient, DAO)
– room (RoomDB, DAO)
• app/src/main/java/com/example/foodorderapp/di → Dependency injection with Hilt.
• assets & product.sqlite → Prepopulated local database and animations.
• Build & config files:
• build.gradle, proguard-rules.pro, google-services.json (Firebase), AndroidManifest.xml.
README
• Images hint at an API-driven feed and stateful UI with transitions.