Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/senocak/spring-kotlin-redis-cache

Spring Kotlin Redis Cache & Memcached
https://github.com/senocak/spring-kotlin-redis-cache

Last synced: about 5 hours ago
JSON representation

Spring Kotlin Redis Cache & Memcached

Awesome Lists containing this project

README

        

# SpringBoot JPA Redis Cache

## API

### Create New Category
```http request
POST http://localhost:8081/api/v1/categories
Content-Type: application/json

{
"name": "{{$random.alphabetic(10)}}"
}
```

### Get All Categories
```http request
GET http://localhost:8081/api/v1/categories
?next=0
&max={{$random.integer(100)}}
```

### Get Category
```http request
GET http://localhost:8081/api/v1/categories/hdjxRaFNZE
```

### Update Category
```http request
PATCH http://localhost:8081/api/v1/categories/hdjxRaFNZE
Content-Type: application/json

{
"name": "{{$random.alphabetic(10)}}"
}
```

### Delete Category
```http request
DELETE http://localhost:8081/api/v1/categories/hdjxRaFNZE
```