How to build RPC for your CorDapp?

Originally published at: https://developer.r3.com/blog/how-to-build-rpc-for-your-cordapp/

This blog is mainly about building the web server layer, which translates RESTful HTTP API call into RPC requests for the Corda node. The post is divided into configuring the RPC port for our CorDapp and programming the API.