A modern Android application built with Kotlin and Jetpack Compose, following Clean Architecture and MVVM principles.
The app fetches random inspirational quotes and displays them in a simple yet elegant UI.
✨ This project is a learning sample that demonstrates the use of:
- Jetpack Compose for declarative UI
- Kotlin Flow for reactive data streams
- Clean Architecture & MVVM pattern
- Retrofit + OkHttp with logging interceptor
- Dependency Injection (if added later)
- REST API integration using DummyJSON
- 📜 Display random quotes with author name
- 🔄 Fetch data from DummyJSON Quotes API
- 🎨 UI designed fully in Jetpack Compose
- ⚡ Reactive data handling with Kotlin Flow
- 🧩 Clean separation of concerns with MVVM + Clean Architecture
- 📱 Adaptive UI with dynamic height for long quotes
The project is structured using Clean Architecture with clear separation of layers:
| Home Screen | Quote Display |
|---|---|
![]() |
![]() |
Quotes are fetched from DummyJSON Quotes API.
Example Request: GET https://dummyjson.com/quotes/3
Example Response: { "id": 3, "quote": "Time is money.", "author": "Benjamin Franklin" }
Kotlin – Primary language
Jetpack Compose – UI toolkit
Flow & Coroutines – Reactive + async programming
MVVM + Clean Architecture – Scalable architecture
Retrofit + OkHttp – Networking

