Giter VIP home page Giter VIP logo

cryptoapp's Introduction

Main CI Quality Gate Status

A cross-platform app to display cryptocurrency prices, built using Kotlin Multiplatform and Compose Multiplatform. The app targets Android, iOS, and Desktop (JVM) platforms.

Features

  • View real-time cryptocurrency prices.
  • Offline first.
  • Cross-platform support: Android, iOS, and Desktop.
  • Coroutine and Flow for asynchronous operations.
  • Comprehensive testing with Maestro and JUnit.
  • Test coverage reports with Kover.

Tech Stack

  • Kotlin Multiplatform: Share code between Android, iOS, and Desktop.
  • Compose Multiplatform: Build UI across platforms with Jetpack Compose.
  • Multi-module clean architecture: Maintainable and scalable project structure.
  • Koin: Lightweight dependency injection framework.
  • Coroutines/Flow: Asynchronous programming.
  • Ktor: HTTP client.
  • SQLDelight: Type-safe SQL, and multiplatform persistence library.
  • JUnit: Unit testing framework.
  • Kover: Code coverage tool for Kotlin.
  • Maestro: End-to-end test automation framework.

Architecture

The app follows the clean architecture principle, which includes:

  • Domain Layer: Contains business logic.
  • Data Layer: Handles data operations, including API calls and local database.
  • Presentation Layer: Contains UI components built with Compose Multiplatform.

Setup and Installation

  • JDK 20 to build the app
  • JVM to run the desktop app
  • Xcode to build the iOS app
  • Recommended IDE: Intellij or Fleet
  • Maestro CLI if you want to run the end to end tests.

Build the app

Android

./gradlew app-android:assembleRelease

iOS

xcodebuild \
          -workspace app-iOS/appiOS.xcodeproj/project.xcworkspace \
          -configuration Debug \
          -scheme appiOS \
          -sdk iphonesimulator \
          -derivedDataPath app-iOS/build

Desktop

./gradlew app-desktop:run

Screenshots ๐Ÿ“ธ

Android

ย 

iOS

ย 

Desktop

ย 

Credit

Data are provided by the awesome CoinGecko API

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.