Spring into Kotlin: How to Make the Magic even more Magical
summary
Live demo migrates a working Spring Boot app to Kotlin: uses Spring Initializer, Gradle Kotlin DSL, embedded MongoDB (flapdoodle), Spring Data repository and a REST controller, seeds data with a CommandLineRunner lambda, and verifies endpoints with HTTP calls. Kotlin replaces constructors/getters with concise data class properties, adds null-safety and string templates, and reduces boilerplate so the app compiles and returns results. Uses IntelliJ conversion and shows Spring Boot + Kotlin running end-to-end.
AI-written summary · about
chapters (12)
- 0:00Start
- 1:32Who Am I
- 3:58Simplified Dependency Management
- 7:09Why I Switched from Java
- 9:09Spree Initializer
- 14:31Build File
- 16:54Parallel Packaging
- 17:31Main Application Class
- 36:40Data Class
- 38:18Concatenating Strings
- 39:43Create an Extension Function
- 40:32Extension Function








