OCAP express.js starter template with @arcblock/ocap-js integrated, a simple web server that transform GraphQL API of ArcBlock OCAP service to REST API
git clone https://github.com/ArcBlock/ocap-express-starter.git
cd ocap-express-starter
yarn dev
Then visit http://localhost:3000/ocap/eth/account/0x1866151577f7bd9bf31c7efb094d11c83bddcd98
to see result.
If you are from China, use a mirror npm registry maybe better:
yarn --registry=https://registry.npm.taobao.org