Anton Arhipov demonstrates how to build a simple REST service using Kotlin, Spring Boot, and an H2 database.
Let's get started with Kotlin and Spring!
In this Kotlin Spring tutorial, we are going to build your first Spring application with #Kotlin! This one is a simple REST service that stores data in the H2 database and serves the entities in JSON format. Kotlin is a great choice to develop Spring applications.
Introduction
Bootstrapping the project
Gradle build file
Application class
Adding new REST endpoint
Adding a data class
Running the application
IntelliJ IDEA HTTP client
Adding database
Data source configuration
Summary
Anton Arhipov twitter.com/antonarhipov
Kotlin is an excellent choice for server-side application development. To learn more visit kotlinlang.org/lp/server-side
Follow Kotlin on Twitter twitter.com/kotlin
#Kotlin #Spring #Server
Why it's here
1 person recommends this
What people say. Recommended as a quick start guide for building Spring applications with Kotlin.
A
u/Anisim_1Kotlin teamin r/Kotlin • Recommends
Want to use Kotlin to build a Spring app? Check out the new Spring Time in Kotlin video series where /u/fundamentalparticle will explain in detail how you can build Spring apps with Kotlin! Watch the first episode and subscribe to stay updated!