@bitdiver/result-rest-api

1.0.9 • Public • Published

Build Status Greenkeeper badge

Result Rest API

This is a REST APIs for the providing the bitdiver testframework. It uses a Arrango Database which can be configured through ENV variables.

Getting Started

# clone it
git clone git@github.com:bitdiver/result-rest-api.git
cd result-rest-api

# Make it your own
rm -rf .git && git init && npm init

# Install dependencies
npm install

# Start development live-reload server
EXPRESS_PORT=3000 ARANGO_HOSTNAME=localhost ARANGO_PORT=8529 ARANGO_DBNAME=_system ARANGO_USERNAME=root ARANGO_PASSWORD= npm run dev

# Start production server:
EXPRESS_PORT=3000 ARANGO_HOSTNAME=localhost ARANGO_PORT=8529 ARANGO_DBNAME=_system ARANGO_USERNAME=root ARANGO_PASSWORD= npm start

Docker Support

cd result-rest-api


# Build your docker
docker build -t bitdiver/result-rest-api .
#            ^      ^           ^
#          tag  tag name      Dockerfile location

# run your docker
docker run -p 8080:8080 bitdiver/result-rest-api
#                 ^            ^
#          bind the port    container tag
#          to your host
#          machine port

Readme

Keywords

none

Package Sidebar

Install

npm i @bitdiver/result-rest-api

Weekly Downloads

4

Version

1.0.9

License

ISC

Unpacked Size

18.7 kB

Total Files

17

Last publish

Collaborators

  • makelefy
  • darlenya