/ktor-arrow-example

Real World implementation - "The mother of all demo apps". Written in Kotlin, with Ktor, Arrow, SqlDelight, KotlinX Serialization, etc.

Primary LanguageKotlinApache License 2.0Apache-2.0

Ktor Arrow Real World Example

While most "todo" demos provide an excellent cursory glance at a framework's capabilities, they typically don't convey the knowledge & perspective required to actually build real applications with it.

Read the full blog post announcing RealWorld on Medium.

Over 100 implementations have been created using various languages, libraries, and frameworks.

Explore them on CodebaseShow.

In order for Real World back-end and front-end examples to be able to work together we need to follow a predefined openapi.yml.

How it works

This example uses Kotlin with Ktor and Arrow as the main building blocks. Other technologies used:

Running the project

To run the project, you first need to start the environment. This can be done with docker-compose up, and then you can start the Ktor server with ./gradlew run.

docker-compose up
./gradlew run
curl -i 0.0.0.0:8080/health

Beware that ./gradlew run doesn't properly run JVM Shutdown hooks, and the port remains bound.