Giter Site home page Giter Site logo

jarroyoesp / composemultiplatformapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 17.84 MB

Compose Multiplatform Sample (KMP) that serves as a comprehensive example demonstrating the integration of Compose Multiplatform, GraphQL data consumption, and SQLDelight for local data persistence.

Kotlin 98.86% Swift 1.14%
android apollo-client compose-multiplatform desktop ios koin kotlin kotlinmultiplatform precompose sqldelight

composemultiplatformapp's Introduction

CI-MASTER Latest release

Compose multiplatform charts

๐Ÿš€ Example project to show SpaceX data built with Kotlin Multiplatform and Compose UI Multiplatform

Compose Multiplatform Sample (KMP) that serves as a comprehensive example demonstrating the integration of Compose Multiplatform, GraphQL data consumption, and SQLDelight for local data persistence.

Using data from the GraphQL endpoint SpaceX-GraphQL

Current supported Platforms are:

  1. Android
  2. Desktop
  3. iOS

Features

Home Screen ๐Ÿš€

  • List of SpaceX launches: Displays a list of SpaceX launches retrieved from a GraphQL endpoint.
  • Show favorite Launches: retrieve data from local database to show your favorite launches
  • Apollo GraphQL Integration: Utilizes GraphQL to fetch and display SpaceX launch data efficiently.
  • SQLDelight Integration: Integrates SQLDelight for managing and persisting favorite launch data.
  • Responsive UI: Provides a responsive user interface for seamless navigation and interaction across devices.
  • Error Handling: Provides informative error messages and graceful handling of network and database errors.

Detail Screen ๐Ÿ›ธ

  • Detailed View: Navigate to a detailed view of each launch for more information.
  • Save Favorites: Enables users to save their favorite launches to a SQLDelight database for persistence.

Built With ๐Ÿ› 

Android ๐Ÿค–

Desktop ๐Ÿ–ฅ๏ธ

To execute the Desktop app run this gradle command:

./gradlew desktop:run

iOS ๐ŸŽ

Steps to setup your iOS app:

  1. Create your iosApp using XCode
  2. Add to your Build phases
cd "$SRCROOT/.."
./gradlew :modules:feature-home-shared:embedAndSignAppleFrameworkForXcode

  1. Add to Search Paths:
$(SRCROOT)/../modules/feature-home-shared/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)

More details JetBrains official documentation

Contributing ๐Ÿค

Issues or Pull request for any bugs/improvements are well received

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.