Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 1008 Bytes

README.md

File metadata and controls

44 lines (26 loc) · 1008 Bytes

Demo Kotlin/JS Project

  • Server using Netty in Ktor.
  • Browser using React in Kotlin/JS.
  • Client in Ktor.
  • REST API
  • Postgres database with Flyway.
  • Ktorm for database access.

Some run configurations for IDEA are included in .run. One starts the server, another runs the browser client in continuous update mode.

Projects

  • server

Hosts an HTTP endpoint on port 8081 that serves the production build of the web app and serves the API.

  • browser

A single page web app that consumes the API.

  • domain

Data definitions shared among projects.

  • client

A KTor client for the server API.

  • util

Non-project specific shared code and dependencies.

References

Overview, benefits, motivation.

An excellent tutorial and, when completed, you get to watch a bunch of interesting videos.