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.
- Spring Boot
- RabbitMQ
- Websockets/STOMP
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
- Before you start you will need to have a RabbitMQ instance running on port 5672 (default).
- Add the OAuth credentials described in the 2 properties files .
- Run JRockets by executing:
mvn spring-boot:run
.
Todo:
- Build docker images
For any feedback please contact me at linkedin