An open API service indexing awesome lists of open source software.

https://github.com/rojiani/spring-kotlin-rest-api

Spring Boot + Kotlin RESTful API Tutorial
https://github.com/rojiani/spring-kotlin-rest-api

kotlin kotlin-spring-boot rest-api spring spring-boot spring-mvc

Last synced: 7 months ago
JSON representation

Spring Boot + Kotlin RESTful API Tutorial

Awesome Lists containing this project

README

          

Simple REST API Kotlin + Spring Boot
====================================

Code from this [scotch.io tutorial](https://scotch.io/@grahamcox82/how-to-build-a-simple-rest-api-with-kotlin-and-spring-boot).

[Tutorial Code](https://github.com/sazzer/kotlin-with-spring-boot)

---

This repository is an example on how to write a Web API using the Kotlin programming language and the Spring Boot framework.

Build and run the example by simply executing `gradle bootRun`, and then call the various endpoints to see the examples in action:

* http://localhost:8080/answer
* http://localhost:8080/user
* http://localhost:8080/string/abc[?operation=[reverse,upper,lower]]
* http://localhost:8080/raiseError