PixaPay – Images Search client
Getting started
- Signup or Login into Pixabay for getting API_KEY
- Add
APY_KEY="Your_Key_Here"
andBASE_URL="https://pixabay.com/api/"
togradle.properties
file.
Libraries and Frameworks
- Jetpack Compose – Declarative UI.
- Navigation component – Navigaton with Compose.
- Material Design – Design System.
- Coil – Image laoding.
- Retrofit & OkHttp – Networking.
- Room – Sqlite database.
- Hilt – Dependency injection.
- Kotlin Flows – Reactive programming.
- Timber – Logging.
- Mockk – Kotlin Testing.
Clean Architecture + Offline first
- Data (database, API and preferences code)
- Domain (business logic)
- UI (for presentation logic, using MVVM with finite state machine pattern)
Tests
- Retrofit and backend Response using MockWebServer
- Use cases and Repositories using Mockk
TODO
- Explore full MVI implementation.
- Show Image in full screen.