Skip to content

sdeleuze/spring-kotlin-deepdive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Kotlin deepdive

This project is designed to show step by step how to migrate from Java to Kotlin with Spring Boot step by step:

See Spring Kotlin support documentation for more details.

Step 0: The initial Java project

  • Simple blog with JSON HTTP API
  • Integration tests can be run via ./gradlew test (or in the IDE)
  • Run the project via ./gradlew bootRun (or in the IDE) and go to http://localhost:8080/ with your browser
  • Present the Java application software design
  • Reminders:
    • No need for annotating constructor when single constructor for autowiring it (as of Spring 4.3), show 2 syntaxes
    • @RequestMapping aliases: @GetMapping, @PostMapping, etc.
  • Reload via CTRL + F9 in IDEA (CMD + SHIFT + F9 on Mac)

Go to step 1: Java to Kotlin

About

A journey from Java to Kotlin with Spring

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published