Git Product home page Git Product logo

rsocket-demo's Introduction

rsocket-demo

Demo server for rsocket

Local Development

To edit the homepage (including the JavaScript example code), do the following:

  • Fork/clone the repo and cd to the root directory.

  • Install the JavaScript dependencies with;

    yarn build

  • The generated code in src/main/resources/static/js/ should be checked in.

  • Run local server

    heroku local web

  • Hit http://localhost:8080 in a webbrowser

  • Hit ws://localhost:8080/rsocket with rsocket

rsocket-demo's People

Contributors

josephsavona avatar yschimke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rsocket-demo's Issues

Improve demo JS quality

ideas - allow setting query, initial request n, submit. Use a reactive data sink for databinding.

cc @josephsavona low priority, but I'm betting my shitty DOM code and search for "peace" will annoy you enough to show me how it's meant to be done :)

Compilation errors building against a not-terribly-new version of RSocket's API

Hello,

I'm trying to build and run the server, but the RSocket API has changed in some ways I can't reconcile by reviewing the code, so this app doesn't compile. I've tried a few things to get it running but without luck.

Specifically, this app uses a constructor to WebsocketRouteTransport that no longer exists. The new one has an additional parameter (a Consumer), whose purpose I can't really get my head around, being a total newbie to RSocket's API.

There are no examples in the RSocket codebase that I can find to guide me on proper use of that Transport. If someone could brush up the server-side code it would be a huge help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.