What | How |
---|---|
🎭 User Interface (Android,Desktop,iOS) | Jetpack Compose JB! |
🏗 Architecture | Decompose + Clean Architecture |
💉 DI (Android) | Koin |
🌊 Async | Coroutines + Flow |
🌐 Networking | gRPC |
📄 Pagination | moko-paging |
🪔 Lint | ktlint gradle plugin , ktlint Pinterest |
🤿 Testing with Turbine | Turbine |
- check your system with KDoctor
- install JDK 17 on your machine
- add
local.properties
file to the project root and set a path to Android SDK there
To run the application on android device/emulator:
- open project in Android Studio and run imported android run configuration
To build the application bundle:
- run
./gradlew :composeApp:assembleDebug
- find
.apk
file incomposeApp/build/outputs/apk/debug/composeApp-debug.apk
Run the desktop application: ./gradlew :composeApp:run
To run the application on iPhone device/simulator:
- Open
iosApp/iosApp.xcproject
in Xcode and run standard configuration - Or use Kotlin Multiplatform Mobile plugin for Android Studio
Make sure to run envoy!
Run the browser application: ./gradlew :composeApp:jsBrowserDevelopmentRun
- Fetch grpc-KMP submodule and install :plugin and :grpc-multiplatform-lib to mavenLocal()
- Setup env variables for the grpc-server with firebase creds and email info using setup.sh in the root of this project
- Run the server
The project supports android, compose iOS and jvm platform, make sure you match the ip:addr in the class GrpcCalls() once you run the slackserver locally!
ssstwitter.com_1680459581417.mp4
trimmed.mp4
Copyright 2024 Anmol Verma
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.