mikepenz / storyblok-mp-SDK-sample

Storyblok Kotlin Multiplatform SDK sample (Android, JVM, JS)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

storyblok-mp-SDK-sample *WIP*

... a showcase of the Storyblok Kotlin Multiplatform Client SDK. (Android, JVM, JS, iOS, ...)


What's included πŸš€ β€’ About Storyblok β€’ Building πŸ› οΈ β€’ Credits β€’ License πŸ““


What's included πŸš€

Minimal Kotlin Multiplatform project showcasing the Storyblok Kotlin Multiplatform SDK. Currently running on

  • Android (Jetpack Compose)
  • Wear OS (Jetpack Compose)
  • Desktop (Compose for Desktop)
  • Web (Compose for Web)
  • Web (Kotlin/JS + React Wrapper)

About Storyblok


Building

You need to use Android Studio Arctic Fox (note: Java 11 is now the minimum version required).

Before executing the samples you have to replace YOUR_STORYBLOK_TOKEN with your Storyblok token inside the gradle.properties.

Android / Wear app

Run the Android app or WearOS app via Android Studio.

React web client

./gradlew :web:browserDevelopmentRun

Compose for Web client

The Compose for Web client resides in the compose-web module and can be run by invoking:

./gradlew :compose-web:jsBrowserDevelopmentRun

Compose for Desktop client

This client is available in compose-desktop module. Note that you need to use appropriate version of JVM when running (works for example with Java 11)

./gradlew :compose-desktop:run

Credits

This project is heavily based on the amazing PeopleInSpace sample by @joreilly

Maintained By

License

Copyright 2021 Mike Penz

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Storyblok Kotlin Multiplatform SDK sample (Android, JVM, JS)

License:Apache License 2.0


Languages

Language:Kotlin 96.0%Language:Ruby 3.2%Language:HTML 0.8%