RNG Service in Kotlin
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
gradle/wrapper
src/main
.gitignore
LICENSE
README.md
build.gradle
gradlew
gradlew.bat
rng.iml

README.md

RNG Service

Introduction

I've been playing with Kotlin at work for a small utility that only needs to be run a few times. Since others should never need to look at or run the code again, I took the opportunity to learn something new. Turns out I really like Kotlin, so I wanted to play a bit more with it.

This service simply generates some random numbers and returns them as plain text or JSON, depending on the URL.

Running

After cloning the repository, build the code:

gradle build

Your new Spring Boot service will be in build/libs and can be run with the following:

java -jar build/libs/rng-service-0.0.1-SNAPSHOT.jar

License

Released under the MIT License.