Decentralized Service Examples
Run a simple http json service
npm install -g json-server{
"posts": [
{
"id": 1,
"author": "Rings Network de-service",
"content": "Decentralize the world!"
}
]
}json-server --watch db.json --port 8000 --host 0.0.0.0Run a rings-node(name:node-0) and register the service
Run another rings-node(name:node-1) and request the service
Connect node-0 and node-1 together
Make the request
Check the response
Last updated