Simple realtime chat service with GraphQL, Spring Boot, Redis
Using GraphQL subscription and Redis pub/sub, implemented realtime chatting api.
-
Before running the application, be sure to fire up Redis and MongoDB with:
docker-compose up -d
-
Build & Run java application
./gradlew bootjar && java -jar /build/libs/*.jar &
You can test graphql apis through graphiql GUI.
After starting the application, access the URL below.
http://localhost:8080/graphiql