Skip to content

boniato/springboot-kotlin-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpringBoot-Kotlin-Redis Example

This project is an example of SpringBoot Data Redis by using Kotlin.
기존 Java로 되어있던 프로젝트(https://github.com/boniato/springboot-data-redis) 를 Kotlin으로 변경한 개인 프로젝트 입니다.

Technologies

#kotlin library build.gradle

    dependencies {
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
        classpath("org.jetbrains.kotlin:kotlin-allopen:$kotlinVersion") // kotlin-spring
        classpath("org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion")
    }

How to run

You can test it by using curl, URL, Swagger.

Curl

    curl -X GET --header 'Accept: application/json' 'http://localhost:8081/api/user/userid'

Request URL

    http://localhost:8081/api/user
    http://localhost:8081/api/user/userid

Swagger

    http://localhost:8081/swagger-ui.html

    Screenshot

How to run test

The repository contains some test cases to cover both api test and repository test.

./gradlew test

About

This project is an example of SpringBoot Data Redis by using Kotlin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages