cdsap / Kotlin-Client-Server

Example using Kotlin in App Engine and Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example Kotlin App Engine / Android

Second Part

First Part

What includes?

  • Simple client in Android with Kotin
  • Server side in App Engine with Kotlin
  • Additional module to include uses cases, implementations and domain entities

Usage

App Engine

Local conf App Engine

  • Install Google Cloud curl https://sdk.cloud.google.com | bash

  • Install Google App Engine Component gcloud components install app-engine-java

  • Deploy local instance: ./gradlew appengineRun

  • Install Cloud Datastore Emulator gcloud components install cloud-datastore-emulator

  • Run Datastore Emulator gcloud beta emulators datastore start

Deploy App Engine

  • Create project Google Cloud

  • gcloud auth login

  • gcloud config set project PROJECT_ID

  • ./gradlew appengineDeploy

Android

For the Android App there are two flavours:

About

Example using Kotlin in App Engine and Android


Languages

Language:Kotlin 99.2%Language:Java 0.8%