kh77 / sb-guava-cache

Guava Cache Example in Spring Boot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring Boot - Guava Example

  • Create User

      curl --location --request POST 'http://localhost:8080/users' \
      --header 'accept: */*' \
      --header 'Content-Type: application/json' \
      --data-raw '{
      "name": "hello world",
      "email": "hello@hotmail.com"
      }'
    
  • Find By User Id

      curl --location --request GET 'http://localhost:8080/users/1' \
      --header 'accept: */*' \
      --header 'Content-Type: application/json' \
      --data-raw ''
    
  • Find All Users

      curl --location --request GET 'http://localhost:8080/users' \
      --header 'accept: */*' \
      --header 'Content-Type: application/json' \
      --data-raw ''
    

About

Guava Cache Example in Spring Boot


Languages

Language:Java 100.0%