No description or website provided.
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.
src Initial commit Jan 26, 2017
.gitignore
Dockerfile
LICENSE
README.md
package.json

README.md

Bitshares UI RESTful API

This is a simple RESTful API server for Bitshares based on express-es6-rest-api

It provides the following data:

  • Dashboard markets configuration by chain id.

Included packages

Tip: If you are using Mongoose, you can automatically expose your Models as REST resources using restful-mongoose.

Getting Started

# clone it
git clone git@github.com:bitshares/bitshares-ui-api.git
cd bitshares-ui-api

# Install dependencies
npm install

# Start development live-reload server
PORT=3000 npm run dev

# Start production server:
PORT=3000 npm start

Docker Support

cd bitshares-ui-api

# Build your docker
docker build -t es6/bitshares-ui-api .
#            ^      ^           ^
#          tag  tag name      Dockerfile location

# run your docker
docker run -p 3000:3000 es6/bitshares-ui-api
#                 ^            ^
#          bind the port    container tag
#          to your host
#          machine port   

Docker Demo

It's supposed to be pretty easy to take your Docker to your favourite cloud service, here's a demo of what's our Dockerized bolierplate is like: https://docker-deployment-yudfxfiaja.now.sh/api

License

MIT