Skip to content

malyshevhen/redisearch-spring-demo

Repository files navigation

Demo Museum application


Description

Java spring-boot application, written to try Redis OM library. Spoiler... It is fantastic!!! It is a back-end part of the abstract Museum Website and provides REST endpoints with basic CRUD functionality and, most importantly, a global search endpoint with auto-suggestion.


Features and technology stack

Main properties

  • Language: Java-17
  • Build tool: Apache Maven
  • Main framework: Spring Boot 3.1.2
  • Superpower of searching capabilities: Redis OM Spring and Redis Stack (Redis Search, Redis Json, Redis Bloom)
  • CI: GitHub Actions
  • Deployment: Docker with Docker Compose plugin

WEB

Persistence

  • Redis OM Spring

    • Redis Documents for storing objects as JSON documents
    • Redis Search for creating indexes and searching by documents fields
    • AuthoComletion library from com.redis.om.spring
  • Redis as a database. Yes... As a database)

Tests

Other

How you can try it

Now the project is in development, and not everything should work perfectly fine 😊.
But I fix all issues as soon as possible 😅.

What do you need:

  1. You should have Docker with Docker compose plugin (or Docker desktop) installed on your machine. Link with instructions: Get Docker

  2. And that`s it 😎.

Installation steps:

  1. Clone this repository (or just docker-compose.yml file).

  2. Run this command in your terminal (on Linux and Mac), Power-Shell or Git-bash (on Windows), but first of all move to the root of the project: docker compose up -d

  3. Test endpoints with the Swagger UI 😀: swagger-ui

  4. Test auto suggestions by link: web-app

  5. Managing Redis instance from browser: RedisInsight

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages