All Projects → Kotlin → full-stack-web-jetbrains-night-sample

Kotlin / full-stack-web-jetbrains-night-sample

Licence: other
Full-stack demo application written with Kotlin MPP

Programming Languages

kotlin
9241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to full-stack-web-jetbrains-night-sample

Kotlin Full Stack Application Demo
Full-stack demo application written with Kotlin MPP
Stars: ✭ 165 (-26.99%)
Mutual labels:  sample, web-application, full-stack
Mern Mediastream
A MERN stack based media streaming application [Full-Stack React Projects]
Stars: ✭ 98 (-56.64%)
Mutual labels:  web-application, full-stack
Mern Skeleton
A MERN stack skeleton web application [Full-Stack React Projects]
Stars: ✭ 114 (-49.56%)
Mutual labels:  web-application, full-stack
Mern Social
A MERN stack based social media application [Full-Stack React Projects]
Stars: ✭ 288 (+27.43%)
Mutual labels:  web-application, full-stack
Mern Marketplace
A MERN stack based online marketplace application [Full-Stack React Projects]
Stars: ✭ 194 (-14.16%)
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 (-88.05%)
Mutual labels:  sample, full-stack
Kotlin Fullstack Sample
Kotlin Full-stack Application Example
Stars: ✭ 1,197 (+429.65%)
Mutual labels:  sample, full-stack
typeorm-example
Example Web API for TypeORM + TypeDI + routing-controllers
Stars: ✭ 27 (-88.05%)
Mutual labels:  web-application
cloud-bulletinboard-ads
This is the bulletinboard-ads sample application code used in the openSAP course: Cloud-Native Development with SAP Business Technology Platform (formerly SAP Cloud Platform).
Stars: ✭ 75 (-66.81%)
Mutual labels:  sample
kanji-web-app
Angular.js kanji web application
Stars: ✭ 45 (-80.09%)
Mutual labels:  web-application
cloud-sdk-ios-samples
SAP Cloud Platform SDK for iOS sample apps demonstrating various components and features of the SDK in the context of bigger apps.
Stars: ✭ 20 (-91.15%)
Mutual labels:  sample
Pacman-Game
This is a pacman game made using HTML, CSS and Javascript only.
Stars: ✭ 42 (-81.42%)
Mutual labels:  web-application
scheduler-framework-sample
This repo is a sample for Kubernetes scheduler framework.
Stars: ✭ 35 (-84.51%)
Mutual labels:  sample
find-sec-bugs-demos
Repository to showcase various configuration recipes with various technologies
Stars: ✭ 33 (-85.4%)
Mutual labels:  sample
play-java-ebean-example
Example Play application showing Java with Ebean
Stars: ✭ 54 (-76.11%)
Mutual labels:  sample
samplics
Select, weight and analyze complex sample data
Stars: ✭ 24 (-89.38%)
Mutual labels:  sample
public-information-map-template-js
An ArcGIS Online mapping template to showcase social media on a map for disaster response and public information.
Stars: ✭ 66 (-70.8%)
Mutual labels:  web-application
cloud-function-nodejs-samples
SAP Cloud Platform Functions samples written in Node.JS
Stars: ✭ 14 (-93.81%)
Mutual labels:  sample
full-stack-developer
全栈工程师成长记, Welcome to pull request
Stars: ✭ 13 (-94.25%)
Mutual labels:  full-stack
arcgisearth-automation-api
Use ArcGIS Earth Automation API to communicate with ArcGIS Earth from applications that support REST.
Stars: ✭ 15 (-93.36%)
Mutual labels:  sample

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