rozkminiacz / fuller-stack-kotlin-multiplatform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fuller stack

A simple note taking app for Android and the Web. Both client platforms share code using Kotlin Multiplatform and use a Ktor server.

The project is part of my article series about Kotlin Multiplatform for Android and the Web.

The client platform architecture

Apps architecture

Apps architecture

How to change the server ip to the local server

The server endpoint can be changed in the commonMain/network.ApiUrl file.

Ktor server

Apps architecture

The gradle command for running the ktor server:

$ ./gradlew :ktor:ktorRun

The server will run on port 9000.

Test account email: test@test.com Test account password: Test123123

Android app

Apps architecture

The gradle command for installing the android app:

$ ./gradlew :android:app:installDebug

React app

Apps architecture

The gradle command for running the react app:

$ ./gradlew :react:spa-app:reactRun

The app will run on port 8080

About


Languages

Language:Kotlin 99.8%Language:HTML 0.1%Language:JavaScript 0.1%Language:Shell 0.0%