Skip to content

bkuberek/kotlin-quarkus-booking-service-demo

Repository files navigation

Booking Service Demo

This project is intended for demonstration purposes. It proposes a Solution to an example Problem.

The application is a GraphQL API writen in Kotlin and Quarkus. It uses Postgres for persistency.

To learn more about this project and try it out, continue reading.

Thank you for your interest. Feel free to add questions, comments and suggestions here.

Documentation

  1. Problem
  2. Solution
  3. Running the Application
  4. Using the API
  5. Notes

Project Scaffolding

This project was initialized using the command:

quarkus create app com.bkuberek:booking-service --extension='kotlin,rest-jackson,quarkus-smallrye-graphql,quarkus-jdbc-postgresql,quarkus-jdbi,quarkus-liquibase'

Quarkus Extensions

  • kotlin
  • rest-jackson
  • quarkus-smallrye-graphql
  • quarkus-jdbc-postgresql
  • quarkus-jdbi
  • quarkus-liquibase

References

  • Quarkus (guide): Learn more about Quarkus, the Supersonic Subatomic Framework.
  • Kotlin (guide): Write your services in Kotlin.
  • REST Jackson (guide): Jackson serialization support for Quarkus REST. This extension is not compatible with the quarkus-resteasy extension, or any of the extensions that depend on it.
  • SmallRye GraphQL (guide): Create GraphQL Endpoints using the code-first approach from MicroProfile GraphQL.
  • GraphQL Kotlin (guide): Not a quarkus example (sprint boot), but it is a good reference for implementing graphql on kotlin.
  • JDBC Driver - PostgreSQL (guide): Connect to the PostgreSQL database via JDBC.
  • Quarkus Jdbi (guide): Makes it possible to use JDBI in native executables.
  • Jdbi (guide): Provides convenient, idiomatic, access to relational data in Java.
  • Liquibase (guide): Handle your database schema migrations with Liquibase.

About

Just a fun exercise to demo quarkus on kotlin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages