OEHU / oehu-website

The OEHU website, as can be seen on https://oehu.org/ |
https://oehu.org/
4 stars 2 forks source link

Statistics: meters from BigchainDB #7

Closed marijnbent closed 6 years ago

marijnbent commented 6 years ago

While it should be possible, I cannot get the connection to work with MongoDB. The port (27017) is open, IP is 188.166.15.225, auth is known, databasename is bigchaindb, but cannot establish connection.

https://docs.bigchaindb.com/en/latest/query.html?highlight=query https://blog.bigchaindb.com/using-mongodb-to-query-bigchaindb-data-3fc651e0861b

bartwr commented 6 years ago

We wanted to query the mongo database that is available on every of our bigchaindb nodes.

Marijn and I made querying mongodb directly possible, by doing the following:

The reason for direct access to the mongo database is that is makes more advanced queries possible, for example filtering on a date range. It's still a decentralized network of bigchaindb nodes, and everyone that has its own node can query the companioned mongodb as well. This way it's still an open source project that anyone can use: decentralized & with self owned data.


I would like to redefine the scope of this issue.

Right now we have these statistics on the homepage:

image

This issue can be closed if the following is true:

If all the checks above pass, this issue can be closed.

bartwr commented 6 years ago

All checks pass. Issue can be closed.