• R/O
  • HTTP
  • SSH

bytom-dashboard: Zusammenfassung des Repository

dashboard of Bytom

Neueste Commits RSS

Rev. Zeit Autor Nachricht
b00c24c 2019-07-19 15:07:51 Zhiting Lin vapor update the bytom address hint.
98a32e3 2019-07-18 20:41:07 Zhiting Lin update the federation address.
c8d58a3 2019-07-18 19:43:39 Zhiting Lin removed the set mining address
7a8394b 2019-07-18 17:03:17 Zhiting Lin update the copy address.
07714b9 2019-07-18 16:27:45 Zhiting Lin update the error message on file selection
6a665f1 2019-07-18 16:27:22 Zhiting Lin update the nodexpub coreIndex.
efc84f1 2019-07-18 16:26:35 Zhiting Lin create address when account create
12cf0d8 2019-07-18 11:39:07 Zhiting Lin account usablity improve.
84aaf2c 2019-07-18 11:38:47 Zhiting Lin update favicon
10b79e9 2019-07-17 17:25:33 Zhiting Lin update the assecees token error message display.

Kürzlich bearbeitete Tags

Name Rev. Zeit Autor
v1.0.0 5d94fd8 2018-04-21 13:48:15 Yongfeng LI


Name Rev. Zeit Autor Nachricht
vapor b00c24c 2019-07-19 15:07:51 Zhiting Lin update the bytom address hi...
master f2694c3 2019-07-17 15:13:53 Zhiting Lin add upgrade the redux
politic eb01857 2019-04-19 11:11:27 Zhiting Lin politic dashboard
dev 45a4992 2018-07-30 20:47:18 Zhiting Lin Modified the password locke...
pagination d6d8e88 2018-05-24 10:43:19 Yongfeng LI remove detail param
refactor 623949c 2018-04-23 15:52:30 Yongfeng LI refactor Restore component


Bytom Dashboard



Install Node.js:

brew install node

Install dependencies:

npm install

Start the development server with

npm start

By default, the development server uses the following environment variables with default values to connect to a local Bytom Core instance:

API_URL=http://localhost:3000/api PROXY_API_HOST=http://localhost:9888

Style Guide

We use eslint to maintain a consistent code style. To check the source directory with eslint, run:

npm run lint src

React + Redux


Babel is used to transpile the latest ES6 syntax into a format understood by both Node.js and browsers. To get an ES6-compatible REPL (or run a one-off script) you can use the babel-node command:

$(npm bin)/babel-node

Redux Actions

To inspect and debug Redux actions, we recommend the "Redux DevTools" Chrome extension:


Creating new components

To generate a new component with a connected stylesheet, use the following command:

npm run generate-component Common/MyComponent

The above command will create two new files in the src/components directory:

src/components/Common/MyComponent/MyComponent.jsx src/components/Common/MyComponent/MyComponent.scss

with MyComponent.scss imported as a stylesheet into MyComponent.jsx.

Additionally, if there is an index.js file in src/components/Common, it will appropriately add the newly created component to the index exports.

Show on old repository browser