In this project I created the classes to manage my private blockchain, to be able to persist my blochchain I used LevelDB.
The web API uses Express.js framework.
The command used to start the server:
npm install
node server.js
Response Format: JSON
Response Body: The block info for the block at the given block height.
Request Format: JSON
Request Body:
{
"body": "Block data goes here..."
}
Response Format: JSON
Response Body: The block info for the block just created.