No description, website, or topics provided.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.mvn/wrapper
src
README.md
mvnw
mvnw.cmd
pom.xml

README.md

Messaging App

This app keeps track of last 5 comments on news and publish new comment to news subscriber. Persistence is done on Redis which maintains track of last 5 comments on news.

Setting up Redis

Download the Tar from this link

Compiling Redis

Unzip it  
cd redis-3.2.6  
make

Run Redis

cd src  
./redis-server ../redis.conf

To persist the data in Redis DB on multiple startups
Open redis.conf. Search for 'appendonly' and make its value 'yes'

API List

http://localhost:8080/swagger-ui.html#/

References

https://spring.io/guides/gs/messaging-redis/

https://dzone.com/articles/using-redis-spring

Build Redis -> https://dzone.com/articles/spring-data-redis-0

CRUD Operations on Object -> http://www.baeldung.com/spring-data-redis-tutorial

Using Redis CLI -> https://examples.javacodegeeks.com/enterprise-java/spring/spring-data-redis-example-2/

Swagger Integration -> http://www.baeldung.com/swagger-2-documentation-for-spring-rest-api