In this video, I tried to explain how to make simple dapp, app based on blockchain and Ethereum platform.
App is consistent from Backend part smart contract written in Solidity using framework Truffle. Solidity is Ethereum language for writing smart contracts and Truffle is the most popular development framework for Ethereum with a mission to make your life a whole lot easier.
During development we use testrpc. Testrpc is a Node.js based Ethereum client for testing and development. It uses ethereumjs to simulate full client behavior and make developing Ethereum applications much faster. It also includes all popular RPC functions and features (like events) and can be run deterministically to make development a breeze. In these way, we work on the local test network, not on the real network where we would spend real Gas.
We use web3 to make your app work on Ethereum. Web3 object provided by the web3.js library. Under the hood, it communicates to a local node through RPC calls. web3.js works with any Ethereum node, which exposes an RPC layer. In frontend we connect with web3 we interact with backend blockchain and performing certain transactions. Then in standard way, we represent it in frontend with JS.
Written version of this tutorial is here http://truffleframework.com/tutorials/pet-shop
If you like the tutorial please leave the comment, subscribe and if you want, be free to donate some crypto:
Write what you would like to see next, which blockchain development tutorial.