How dear-luca/cookitup works
Project type and purpose
• This is an Android mobile application named “CookItUp,” built with Kotlin, Jetpack Compose (inferred from Composable-style UI components), and MVVM architecture.
• It fetches recipes from an external Spoonacular API, persists them locally using Room, and presents them in various UI screens (search, list, detail, favourites, profile).
File structure
• Top-level “app” module contains all code.
• data/local: Room database setup (AppDatabase.kt), DAOs, and entity classes.
• data/remote: Retrofit (or similar) API client, DTOs, and API interface for Spoonacular.
• data/repository: Concrete implementations of domain repositories (ApiRepositoryImpl, DbRepositoryImpl).
• domain: Model definitions and repository interfaces (ApiRepository, DbRepository).
• ui: Composable screens + ViewModels, navigation graph, theming, and shared UI components (TopBar, BottomBar, RecipeItems, etc.).
• utils: Network utilities.
• AppModule.kt/CookItUpApplication.kt: Dependency injection setup (likely Koin or Hilt).
• Build scripts, proguard rules, testing directories, and resource folders are also present.
README for additional insights
• Currently only contains the project title. No further architectural notes.