Skip to content

OEHU/dataset_provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dataset provider

Code for minimal express application which queries MongoDB instance of BigchainDB network underlying OEHU, returning a downloadable dataset according to the parameters specified by the user.

Early work - more TBA.

Setup

  1. npm install --save.
  2. Create .env file in root directory and set environment variables for:
    PORT
    WEBPORT
  3. Create config.json file in root directory and set connection string for Mongo instance for use in production.
  4. Make sure you're connected either to local MongoDB, or BigchainDB Mongo instance if you have access. Create this cron on the server to automatically start a SSH tunnel to a bigchaindb node if you have access:

crontab -e

* * * * * nc -z localhost 27018 || ssh -N -L 27018:localhost:27017 root@188.166.15.225 &

If not then just make sure you have a local mongo instance running. Interested parties can get in touch to get a recent mongodump of a db instance.

About

Express application to query mongo instance of BDB node via POST req params and return downloadable dataset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors