Skip to content

This is a Hacker News reader app implemented using Kotlin Multiplatform Compose for Android and iOS.

License

Notifications You must be signed in to change notification settings

jarvislin/HackerNews-KMP

Repository files navigation

Static Badge Static Badge GitHub License

Hacker News KMP

hn_16_9

This project is designed to showcase the capabilities of Kotlin Multiplatform Compose by implementing both Android and iOS apps. The aim is to demonstrate how effectively this framework can create cross-platform applications and learn new concepts I hadn't encountered before.

Download

Article

How to Develop and Publish an App on Two Platforms Within a Week?

Tech Stack

  1. Entire project written in Kotlin
  2. UI developed with Compose Multiplatform, following Material 3 guidelines
  3. Asynchronous tasks handled with Coroutines
  4. Dependency injection managed with Koin
  5. API interactions handled by Ktor Client
  6. Time conversions using kotlinx-datetime
  7. Serialization managed by kotlinx-serialization

For the full list of dependencies used in the project, please check this file.

Architecture

Architecture follows MVVM and Clean Architecture.

clean_architecture_mvvm

Contribution

You're welcome to submit PRs to this repo! I'm using Git Flow, so please create a feature branch for your work. When you're ready to submit a PR, set the base branch to develop. I'll review it as soon as I can.

License

Mozilla Public License Version 2.0