Sign inSign up

openblockchaininfo/frontend

By openblockchaininfo

•Updated about 10 years ago

react frontend for openblockchain.info

Image
0

321

openblockchaininfo/frontend repository overview

⁠openblockchain: Frontend

Frontend is one of the microservices which comprise the openblockchain application.

⁠Architecture

The project is managed through the openblockchain⁠

The project is split into several services:

  • Cassandra persists the data: blocks, transactions, and visualisations (analysed data).
  • Bitcoin is used to connect to the Bitcoin blockchain. It's a simple Bitcoin Core node whose role is to index all the blocks and transactions and make them consumable through a HTTP JSON RPC interface.
  • Scanner⁠ connects to the bitcoin service through its APIs and stores all the blocks and transactions in the Cassandra database.
  • Spark⁠ analyses the Bitcoin blockchain data stored in Cassandra.
  • API⁠ is a REST interface that allows clients to consume the data stored in Cassandra.
  • Frontend⁠ is the web app used to explore the blockchain and visualise analysed data.

Each service contains 1 or more containers and can be scaled independently from each other.

⁠Installation
npm install

⁠Running Dev Server

npm run dev

The first time it may take a little while to generate the first webpack-assets.json and complain with a few dozen [webpack-isomorphic-tools] (waiting for the first Webpack build to finish) printouts, but be patient. Give it 30 seconds.

⁠Using Redux DevTools

Redux Devtools⁠ are enabled by default in development.

If you have the Redux DevTools chrome extension⁠ installed it will automatically be used on the client-side instead.

If you want to disable the dev tools during development, set __DEVTOOLS__ to false in /webpack/dev.config.js. DevTools are not enabled during production.

⁠Building and Running Production Server

npm run build
npm run start

⁠License

Copyright (C) 2016 Dan Hassan

Designed, developed and maintained by Dan Hassan [email protected]⁠

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
⁠Dependencies

Frontend Service⁠ dependencies https://github.com/gaearon/react-redux-universal-hot-example⁠ The MIT License (MIT), Copyright (c) 2015 Erik Rasmussen

Tag summary

Content type

Image

Digest

Size

327.1 MB

Last updated

about 10 years ago

docker pull openblockchaininfo/frontend