Blockchain has the potential to change the way that the world approaches data. Develop Blockchain skills by understanding the data model behind Blockchain by developing your own simplified private blockchain.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Use NPM to initialize your project and create package.json to store project dependencies.
npm init
- Install all dependency that have in our package.json file
npm install
- Running app in port 8000
npm start
- Before this, open a browser in http://localhost:8000 and enjoy :)
curl -X POST \
http://localhost:8000/block \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'body=teste!'
curl -X GET \
http://localhost:8000/block/0