Frontend is one of the microservices which comprise the openblockchain application.
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.
npm install
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.
Redux Devtools are enabled by default in development.
- CTRL+H Toggle DevTools Dock
- CTRL+Q Move DevTools Dock Position
- see redux-devtools-dock-monitor for more detailed information.
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.
npm run build
npm run start
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/>.
Frontend Service dependencies https://github.com/gaearon/react-redux-universal-hot-example The MIT License (MIT), Copyright (c) 2015 Erik Rasmussen