Skip to content

boniato/springboot-data-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpringBoot Data Redis Example

This project is an example of SpringBoot Data Redis.
Springboot, Redis, Java8을 이용하여 만든 개인 프로젝트 입니다.

Technologies

Redis library

build.gradle

    compile('org.springframework.boot:spring-boot-starter-data-redis')
    compile 'org.springframework.data:spring-data-redis'
    compile group: 'redis.clients', name: 'jedis', version: '2.9.0'
    compile group: 'it.ozimov', name: 'embedded-redis', version: '0.7.1'

How to run

You can test 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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages