Skip to content

nick-kanakis/JRockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status codecov Codacy Badge GitHub license

JRockets

A wrapper for Reddit that turns the static Rest API into a close to realtime API using Websockets & Streams.

Originally inspired and based on Rockets.

Technology Stack

  • Spring Boot
  • RabbitMQ
  • Websockets/STOMP

Topology

topology

API

If you want use the provided clients to view the stream of comments and posts use the following endpoints:

  • http://localhost:8080/comments
  • http://localhost:8080/posts

The sockets endpoint are available at:

  • http://localhost:8080/commentStream
  • http://localhost:8080/postStream

The stomp client can subscribe to:

  • http://localhost:8080/topic/comments
  • http://localhost:8080/topic/posts

How to run

  1. Before you start you will need to have a RabbitMQ instance running on port 5672 (default).
  2. Add the OAuth credentials described in the 2 properties files .
  3. Run JRockets by executing: mvn spring-boot:run.

Todo:

  • Build docker images

Feedback

For any feedback please contact me at linkedin