A collection of Spring Boot REST services for a mythical online bookstore powered by Redis. It uses:
- Spring Data Redis
- RedisJSON via JRedisJSON
- RediSearch via spring-redisearch and LettuSearch
- RedisGraph via JRedisGraph
- RedisBloom via JRedisBloom
Prerequisites:
- Java 11
- Maven 3.2+
- Docker
- Redis + Modules 6.0.1 or greater
NOTE: If you're not on Mac or Windows, you may need to install Docker Compose as well.
To install this example application, run the following commands:
git clone git@github.com:redis-developer/redi2read.git --recurse-submodule
You can also import the code straight into your IDE:
-
Start the Docker Compose application:
cd redi2read/docker docker-compose up
-
Run the Spring Boot app to build the application.
./mvnw clean spring-boot:run
Quick Tutorial on Redis' Powerful Modules:
- RedisJSON Tutorial
- RediSearch Tutorial
- RedisGraph Tutorial
- Getting Started with Redis Streams and Java
- RedisBloom Tutorial
The following links on Redis and Java may also be helpful:
- Java and Redis
- Accessing Data Reactively with Redis
- Messaging with Redis
- Building an Application with Spring Boot
Please post any questions and comments on the Redis Discord Server, and remember to visit our Redis Developer Page for awesome tutorials, project and tips. You can also email me bsb@redislabs.com.
Created by Brian Sam-Bodden @ Redis Labs