- Notifications
You must be signed in to change notification settings - Fork3
rchain/rnode-hydra
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Data hydration example for RNode with RabbitMQ.
Install nodejs dependencies.
npm install
Start RNode and RabbitMQ instances with Docker compose.
docker compose up -d
Start nodejs web application.
npm start
The console output should show a successful start.
The Debug Console API page is then available athttp://localhost:8080/admin/api.
2022-01-19T19:36:15.758Z [LOG] Start server ...2022-01-19T19:36:15.763Z [LOG] RPC Controller NamedApiConsoleController .deepkit/api-console/admin/api/2022-01-19T19:36:15.763Z [LOG] 10 HTTP routes2022-01-19T19:36:15.763Z [LOG] HTTP Controller HydraController2022-01-19T19:36:15.763Z [LOG] POST /api/init2022-01-19T19:36:15.764Z [LOG] POST /api/send2022-01-19T19:36:15.764Z [LOG] HTTP Controller RNodeController2022-01-19T19:36:15.764Z [LOG] POST /api/rnode-send2022-01-19T19:36:15.764Z [LOG] POST /api/rnode-send-propose-result2022-01-19T19:36:15.764Z [LOG] HTTP Controller RabbitMqController2022-01-19T19:36:15.764Z [LOG] POST /api/rabbit-connect2022-01-19T19:36:15.764Z [LOG] POST /api/rabbit-init-publisher2022-01-19T19:36:15.764Z [LOG] POST /api/rabbit-init-consumer2022-01-19T19:36:15.764Z [LOG] POST /api/rabbit-send2022-01-19T19:36:15.764Z [LOG] HTTP Controller ApiConsoleController2022-01-19T19:36:15.764Z [LOG] GET /admin/api/2022-01-19T19:36:15.764Z [LOG] GET /admin/api2022-01-19T19:36:15.764Z [LOG] HTTP listening at http://0.0.0.0:80802022-01-19T19:36:15.764Z [LOG] Server started.
Stop RNode and RabbitMQ instances.
docker-compose down