IBM-Blockchain-Archive / marbles

WARNING: This repository is no longer maintained ⚠️ This repository will not be updated. The repository will be kept available in read-only mode.
Apache License 2.0
1.03k stars 979 forks source link

Any REST API? #216

Closed Dearkano closed 6 years ago

Dearkano commented 6 years ago

Wonder if I can use http request to use Marble~!

dshuffma-ibm commented 6 years ago

Afraid not. The Marbles app uses a websocket to communicate between the back end and the front end. Which handles the marble creation/moving/deletion operations.

Creating a rest layer shouldn't be too bad especially if you are already familiar with Express. Just a matter of making routes around the functions in marbles_cc_lib.js

dshuffma-ibm commented 6 years ago

closing, inactivity