All Projects → Kotlin → Kotlin Full Stack Application Demo

Kotlin / Kotlin Full Stack Application Demo

Full-stack demo application written with Kotlin MPP

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Kotlin Full Stack Application Demo

full-stack-web-jetbrains-night-sample
Full-stack demo application written with Kotlin MPP
Stars: ✭ 226 (+36.97%)
Mutual labels:  sample, web-application, full-stack
Mern Mediastream
A MERN stack based media streaming application [Full-Stack React Projects]
Stars: ✭ 98 (-40.61%)
Mutual labels:  web-application, full-stack
btp-full-stack-typescript-app
A sample project to demonstrate how to implement a full-stack app with SAP Cloud Application Programming Model, plus SAPUI5 and TypeScript.
Stars: ✭ 27 (-83.64%)
Mutual labels:  sample, full-stack
Mern Marketplace
A MERN stack based online marketplace application [Full-Stack React Projects]
Stars: ✭ 194 (+17.58%)
Mutual labels:  web-application, full-stack
Mern Social
A MERN stack based social media application [Full-Stack React Projects]
Stars: ✭ 288 (+74.55%)
Mutual labels:  web-application, full-stack
Kotlin Fullstack Sample
Kotlin Full-stack Application Example
Stars: ✭ 1,197 (+625.45%)
Mutual labels:  full-stack, sample
Mern Skeleton
A MERN stack skeleton web application [Full-Stack React Projects]
Stars: ✭ 114 (-30.91%)
Mutual labels:  web-application, full-stack
Spring Petclinic Angular
Angular 8 version of the Spring Petclinic sample application (frontend)
Stars: ✭ 145 (-12.12%)
Mutual labels:  sample
Randomdata
Random data generator
Stars: ✭ 157 (-4.85%)
Mutual labels:  sample
Spring
Spring integration for Vaadin
Stars: ✭ 141 (-14.55%)
Mutual labels:  web-application
Done it
DoneIt is a sample note app 📝 Flutter application 📱 built to demonstrate use of Clean Architecture tools. Dedicated to all Flutter Developers with ❤️.
Stars: ✭ 140 (-15.15%)
Mutual labels:  sample
Commafeed
Google Reader inspired self-hosted RSS reader.
Stars: ✭ 1,842 (+1016.36%)
Mutual labels:  web-application
Jianshi
A Full-Stack mobile app, including Android & Server, Simple-Poem 简诗. You can write poem in graceful & traditional Chinese style.
Stars: ✭ 1,873 (+1035.15%)
Mutual labels:  full-stack
Web Methodology
Methodology for high-quality web application security testing - https://github.com/tprynn/web-methodology/wiki
Stars: ✭ 142 (-13.94%)
Mutual labels:  web-application
Abap Platform Rap Opensap
Samples for the openSAP course "Building Apps with the ABAP RESTful Application Programming model (RAP)."
Stars: ✭ 163 (-1.21%)
Mutual labels:  sample
Android Mvp Basic Sample
Android MVP Basic Sample
Stars: ✭ 140 (-15.15%)
Mutual labels:  sample
Clean Architecture Swiftui
SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
Stars: ✭ 2,925 (+1672.73%)
Mutual labels:  sample
Cpp Awesome Pack
Awesome Sample Pack of C/C++ Codes
Stars: ✭ 162 (-1.82%)
Mutual labels:  sample
Play Scala Isolated Slick Example
Example Play Slick Project
Stars: ✭ 155 (-6.06%)
Mutual labels:  sample
Docker Traefik
Script to setup Traefik reverse-proxy in Docker with Compose
Stars: ✭ 153 (-7.27%)
Mutual labels:  web-application

kotlin-full-stack-application-demo

Fork of https://github.com/mkraynov/kfsad with the new Kotlin/JS Gradle Plugin

A full-stack demo application written in Kotlin for JetBrains Night Moscow 2019.

screenshot

Run application

  • ./gradlew :server:run will build optimized application bundle and run it on https://localhost:8080 (it takes some time to build optimized js bundle, so it is not useful for frontend development)
  • ./gradlew :client:run -t will run development application at https://localhost:8080 with live reload. It runs ktor and webpack dev servers under the hood:
    • Webpack dev server will be started at the front https://localhost:8080.
    • Ktor server will be spawend internally at https://localhost:8081 in separate gradle process (webpack devserver will start it)
    • Webpack dev server will call ktor for everything expect *.js files.

Distribution

  • ./gradlew :server:build will create server/build/distributions/server-0.1.1.zip. You can deploy it on the server and run bin/server to start the server. Client is included into the lib/server.jar

Description

This application displays a feed containing user-generated posts and comments. All data is stubbed by the fakeJSON and JSON Placeholder services.

It is a Kotlin Multiplatform project.

It uses:

During application startup posts are preloaded to the in-memory database from the fakeJSON (or JSON Placeholder) service. When the user requests the page, several posts are selected from the DB and the corresponding comments are fetched via the multi-platform HTTP client. Posts with comments are served to the client via RPC. After the initial render is done, information about authors is fetched via the client-side HTTP client and rendered after all coroutines terminate successfully. The "Load more comments" button fetches additional comments for the post using the multi-platform HTTP client.

This application has no error handling and has very limited RPC serialization. It's not meant for production use and serves only as a technology example.

Contact information

Please refer original repo: https://github.com/mkraynov/kfsad

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].