Skip to content
Node.js starter project that uses express.js and OCAP JS SDK
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin initial commit Nov 15, 2018
config (fix): add missing config for ocap.pageSize Nov 18, 2018
public/stylesheets initial commit Nov 15, 2018
routes
views
.editorconfig (feat): api proxy for ocap Nov 15, 2018
.gitignore update readme Nov 15, 2018
LICENSE add license Nov 15, 2018
README.md Update README.md Nov 16, 2018
app.js (feat): api proxy for ocap Nov 15, 2018
nodemon.json (feat): api proxy for ocap Nov 15, 2018
package.json (feat): api proxy for ocap Nov 15, 2018

README.md

ocap-express-starter

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

Usage

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

OCAP SDK Documentation

Other OCAP Tools

You can’t perform that action at this time.