Skip to content

jphaugla/redis-om-spring-jph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis-om-spring-jph

GitHub based off redis-om-spring blog in redis developer portal

Outline

Overview

This GitHub completes a small redis-om-spring tutorial showing the annotations for a simplified web interface using company data.

Important Links/Notes

Instructions

Create environment

Clone the GitHub

get clone https://github.com/jphaugla/redis-om-spring-jph.git

Docker Compose

Build just needs to be done initially. NOTE: if building a new image for k8s, ensure the Dockerfile is doing a copy of the src directory into the image and not relying on docker-compose mount of the src directory. Additionally, docker can be run with the Java application. See java readme

docker-compose up -d

Compile, build, and run

Maven is used to compile build and run

./mvnw clean package
./mvnw spring-boot:run

Test API

Scripts are provided in the scripts directory to verify API functionality

./getCompany.sh
./geoQuery.sh
./getNoe.sh
./getNoeRange.sh
./startWith.sh
./tagQuery.sh