All Projects → dmitrish → kinsight-multiplatform

dmitrish / kinsight-multiplatform

Licence: Apache-2.0 License
Kotlin Multiplatform Concept - iOS, MacOS, WatchOS (SwiftUI), Android (phone and Wear OS), JVM Web Server - Alpha Capture

Programming Languages

kotlin
9241 projects
swift
15916 projects
objective c
16641 projects - #2 most used programming language
HTML
75241 projects
java
68154 projects - #9 most used programming language
Dockerfile
14818 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to kinsight-multiplatform

StarWars
Minimal GraphQL based Jetpack Compose, Wear Compose and SwiftUI Kotlin Multiplatform sample (using StarWars endpoint - https://graphql.org/swapi-graphql)
Stars: ✭ 165 (+334.21%)
Mutual labels:  kotlin-native, kotlin-multiplatform, swiftui, wearos, jetpack-compose
chip-8
Jetpack Compose and SwiftUI based Kotlin Multiplatform fork of https://github.com/cbeust/chip-8 (Chip-8 Emulator)
Stars: ✭ 36 (-5.26%)
Mutual labels:  kotlin-native, kotlin-multiplatform, swiftui, jetpack-compose
MultiplatformPlayground
Kotlin Multiplatform project in Jetpack Compose & SwiftUI with shared ViewModel layer and File upload
Stars: ✭ 72 (+89.47%)
Mutual labels:  ktor, kotlin-native, kotlin-multiplatform, swiftui
tv-maniac
Tv-Maniac is a Multiplatform app (Android & iOS) for viewing TV Shows from TMDB.
Stars: ✭ 55 (+44.74%)
Mutual labels:  ktor, kotlin-multiplatform, swiftui, jetpack-compose
kmm
Rick & Morty Kotlin Multiplatform Mobile: Ktor, Sqldelight, Koin, Flow, MVI, SwiftUI, Compose
Stars: ✭ 52 (+36.84%)
Mutual labels:  ktor, kotlin-multiplatform, swiftui, jetpack-compose
ToDometer Multiplatform
WIP Kotlin Multiplatform project: A meter to-do list built with Android Jetpack, Compose UI Multiplatform, Wear Compose, SQLDelight, Koin Multiplatform, SwiftUI, Ktor Server / Client, Exposed...
Stars: ✭ 145 (+281.58%)
Mutual labels:  ktor, kotlin-multiplatform, jetpack-compose
Splitties
A collection of hand-crafted extensions for your Kotlin projects.
Stars: ✭ 1,945 (+5018.42%)
Mutual labels:  watchos, kotlin-native, kotlin-multiplatform
Lastik
Kotlin Multiplatform + Jetpack Compose pet project, based on www.last.fm/api (in development)
Stars: ✭ 37 (-2.63%)
Mutual labels:  ktor, kotlin-multiplatform, jetpack-compose
D-KMP-sample
D-KMP Architecture official sample: it uses a shared KMP ViewModel and Navigation for Compose and SwiftUI apps.
Stars: ✭ 636 (+1573.68%)
Mutual labels:  kotlin-multiplatform, swiftui, jetpack-compose
tmdb-api
This Kotlin Multiplatform library is for accessing the TMDB API to get movie and TV show content. Using for Android, iOS, and JS projects.
Stars: ✭ 31 (-18.42%)
Mutual labels:  ktor, kotlin-native, kotlin-multiplatform
Scout
Scout is a kotlin multiplatform application that allows users to search and save games to lists to be browsed later.
Stars: ✭ 28 (-26.32%)
Mutual labels:  ktor, kotlin-multiplatform, jetpack-compose
kmm-production-sample
This is an open-source, mobile, cross-platform application built with Kotlin Multiplatform Mobile. It's a simple RSS reader, and you can download it from the App Store and Google Play. It's been designed to demonstrate how KMM can be used in real production projects.
Stars: ✭ 1,476 (+3784.21%)
Mutual labels:  kotlin-native, kotlin-multiplatform, jetpack-compose
DagashiApp
Unofficial Android Dagashi Android/iOS app.
Stars: ✭ 32 (-15.79%)
Mutual labels:  kotlin-multiplatform, swiftui, jetpack-compose
Columbus
A feature-rich country picker for iOS, tvOS and watchOS.
Stars: ✭ 23 (-39.47%)
Mutual labels:  watchos, swiftui
storyblok-mp-SDK
Storyblok Kotlin Multiplatform SDK (Android, JVM, JS, iOS, ...)
Stars: ✭ 16 (-57.89%)
Mutual labels:  kotlin-native, kotlin-multiplatform
aprenda-swift
Uma lista de conteúdos para você aprender Swift
Stars: ✭ 429 (+1028.95%)
Mutual labels:  watchos, swiftui
BarChart
SwiftUI Bar Chart
Stars: ✭ 156 (+310.53%)
Mutual labels:  watchos, swiftui
BoredSwift
👀 Are you bored? This app helps find you something to do via https://www.boredapi.com/
Stars: ✭ 27 (-28.95%)
Mutual labels:  watchos, swiftui
kotlin-simple-architecture
Kotlin Simple Architecture
Stars: ✭ 35 (-7.89%)
Mutual labels:  ktor, swiftui
Monthly-App-Challenge-2022
Retos mensuales de la comunidad MoureDev para crear pequeñas aplicaciones en base a requisitos
Stars: ✭ 153 (+302.63%)
Mutual labels:  swiftui, jetpack-compose

official JetBrains project GitHub license

Kotlin Multiplatform project: Sharing code between iOS, MacOS, WatchOS, Android (phone and watch - Wear OS), and JVM Web Server (Ktor)

KInsight Alpha Capture is a proof of concept project currently being developed for our annual CodeWeek event (where you pitch business or technology ideas). Alpha Capture app is intended for Sales to create and distribute trade ideas to our institutional clients. The app will track the performance of each idea relative to the performance of the benchmark, and alert users when the idea has reached the price objective or stop loss value so that the user can then close the idea. This is proof of concept only, and as such will have the following limitations: 1) there will be only limited live market data availability (when creating an idea, current stock price - for this we use https://iexcloud.io/docs/api/ - if you clone this project, make sure to get your own api key - it's free!); b) there will be no permanent storage for newly created ideas, they will be stored in memory on the server until the next server reload. However, there will be a number of “prefabricated” ideas along with their historical (mocked) performance. As we cannot control the market (alas), some market data manipulation is in order. The server will provide an API to update prices for ideas so that an alert can be triggered. These price updates will flow into the app via websockets, updating UI in real time and triggering notification alerts when price objective or stop loss thresholds are met.

Demo

Part 1
Part 2
Part 3

Overview

overview

IPhone Android
Wear OS Watch OS

https://github.com/dmitrish/kinsight-multiplatform/blob/master/wearos-alpha.mp4

Screenshots:

screens

ideas side by side

Ideas list - Android

ideas list android

Ideas (new design)

android and iphone detail

Idea Graph:

idea graph

Idea Alert (Android):

idea alert

MacOS - Ideas

idea list macos

Steps to build different server flavors and run them locally

Switching server between thee possible builds: google app angine, netty, and netty with fatjar - settings.gradle: Switching server between google app engine and netty builds

If you want to run the google appengine locally, remember to change the engine path to your path!

appengine path

To run appengine locally, execute this gradle task

appengine run task

Note - if you want websockets enabled, you need to run one of the netty builds (regular netty or fatjar netty). Change settings.gradle as described above and execute this gradle task for the regular netty build:

netty run task

To run the fatjar build, first build with this build task: fatjar build task

Then navigate to the libs folder in the terminal and execute: libs % java -jar server-all.jar

Kotlin Native iOS project: Steps to run iOS project

Note: XCode 11 is required

  1. Compile the shared code module in Android Studio (see snapshot below).
  2. Move to Kotlin ios Folder
  3. Do a 'pod install'
  4. Open .xcworkspace file

Steps to run Android app

  1. Compile the shared code module in Android Studio (see snapshot below)
  2. In Android's build.gradle, in Android -> DefaultConfig -> change this build config field to be: buildConfigField("String", "url", '"https://10.0.2.2:8081"')

Build shared code first - before running android, ios or server!

build shared module

Steps to deploy Server

GOOGLE APP ENGINE and DOCKER - COMMANDS

Prerequisite install Google Cloud SDK and Docker(optional)

Create Google Project:

  1. gcloud init
  2. gcloud projects create kinsight-multiplatform
  3. gcloud app create
  4. gcloud config set project kinsight-multiplatform
  5. gcloud auth configure-docker

Create Docker Image and Run:

  1. Navigate to \server folder
  2. docker build -t server-all .
  3. docker run -m512M --cpus 1 --expose 8081 -p 8081:8081 -it server-all

Other Docker Commands: docker images docker ps docker stop instance_id docker rmi image_name

Uploading Docker Image to Google Cloud Registry:

  1. Add Tag to Image (V3 is the tag here) docker tag server-all gcr.io/project-kinsight/server-all-image:V3
  2. Push Image to cloud registry docker push gcr.io/project-kinsight/server-all-image:V3

Next follow below to deploy Docker image into Google Kubernetes Engine: https://cloud.google.com/kubernetes-engine/docs/quickstart

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].