Redis-Cache

A spring-boot project that demonstrates data caching using Redis

Setup

SAMPLE PAYLOADS

  1. Create User

Url = http://localhost:8080/user

Method = POST

{
    "name": "Sakawa Bob",
    "followers": 4500000
}
  1. Edit User

Url = http://localhost:8080/user

Method = PUT

{
    "id": 4,
    "name": "Sakawa Bobby",
    "followers": 4500000
}
  1. Find User

Url = http://localhost:8080/user/4

Method = GET

  1. List All Users

Url = http://localhost:8080/user

Method = GET

  1. Delete User

Url = http://localhost:8080/user/4

Method = DELETE

GitHub

View Github