Serverless architecture for DApps
Traditional client-server model applications are typically hosted in centralized servers and are managed in-house or by cloud service providers. The server component provides a service to one or more clients based on the requests received.
Blockchain can remove this centralized server and bring in more transparency to users. This can be achieved by interacting with the smart contracts directly through nodes or by using a third-party wallet such as MetaMask. In this recipe, you will learn how to choose between a client-server and serverless model for your Ethereum DApp.
Getting ready
It is required to have basic knowledge of writing smart contracts and building DApps using Web3JS. This recipe discusses the architecture of decentralized applications and is an advanced topic. Understanding the implementation of a basic DApp is essential to get more out of this recipe.
For those who are just getting started, it is recommended to read through the first three chapters...