• R/O
  • HTTP
  • SSH
  • HTTPS

bytom-dashboard: 仓库概述

dashboard of Bytom


Recent Commits RSS

Rev. 时间 作者 Message
4eeb2ca 2022-12-11 01:11:51 dependabot[bot] dependabot/npm_and_yarn/express-4.18.2 Bump express from 4.17.1 to 4.18.2 Bumps [express](http...
ea4ccb4 2022-12-08 02:43:22 dependabot[bot] dependabot/npm_and_yarn/qs-and-express-6.5.3 Bump qs and express Bumps [qs](https://github.com/ljhar...
a690937 2022-12-02 12:59:33 dependabot[bot] dependabot/npm_and_yarn/decode-uri-component-0.2.2 Bump decode-uri-component from 0.2.0 to 0.2.2 Bumps [de...
b8904d2 2022-11-08 11:12:32 dependabot[bot] dependabot/npm_and_yarn/loader-utils-and-loader-utils-and-babel-loader-and-bootstrap-loader-and-css-loader-and-file-loader-and-hjs-webpack-and-postcss-loader-and-resolve-url-loader-1.4.1 Bump loader-utils, babel-loader, bootstrap-loader, css-l...
f730040 2022-08-31 05:45:32 dependabot[bot] dependabot/npm_and_yarn/moment-timezone-0.5.35 Bump moment-timezone from 0.5.17 to 0.5.35 Bumps [momen...
dc7e71a 2022-07-07 04:59:21 dependabot[bot] dependabot/npm_and_yarn/moment-2.29.4 Bump moment from 2.22.1 to 2.29.4 Bumps [moment](https:...
41c4309 2022-04-09 08:12:46 dependabot[bot] dependabot/npm_and_yarn/moment-2.29.2 Bump moment from 2.22.1 to 2.29.2 Bumps [moment](https:...
ce28a54 2022-02-10 16:22:04 dependabot[bot] dependabot/npm_and_yarn/node-sass-7.0.0 Bump node-sass from 4.12.0 to 7.0.0 Bumps [node-sass](h...
da33b87 2022-01-15 11:03:37 dependabot[bot] dependabot/npm_and_yarn/shelljs-0.8.5 Bump shelljs from 0.7.8 to 0.8.5 Bumps [shelljs](https:...
4068edd 2021-09-01 18:15:34 j feature/btm2_ui style: update peers style

Recently edited Tags

名称 Rev. 时间 作者
v1.0.0 5d94fd8 2018-04-21 13:48:15 Yongfeng LI

Branches

名称 Rev. 时间 作者 Message
dependabot/npm_and_yarn/express-4.18.2 4eeb2ca 2022-12-11 01:11:51 dependabot[bot] Bump express from 4.17.1 t...
dependabot/npm_and_yarn/qs-and-express-6.5.3 ea4ccb4 2022-12-08 02:43:22 dependabot[bot] Bump qs and express Bumps...
dependabot/npm_and_yarn/decode-uri-component-0.2.2 a690937 2022-12-02 12:59:33 dependabot[bot] Bump decode-uri-component ...
dependabot/npm_and_yarn/loader-utils-and-loader-utils-and-babel-loader-and-bootstrap-loader-and-css-loader-and-file-loader-and-hjs-webpack-and-postcss-loader-and-resolve-url-loader-1.4.1 b8904d2 2022-11-08 11:12:32 dependabot[bot] Bump loader-utils, babel-l...
dependabot/npm_and_yarn/moment-timezone-0.5.35 f730040 2022-08-31 05:45:32 dependabot[bot] Bump moment-timezone from ...
dependabot/npm_and_yarn/moment-2.29.4 dc7e71a 2022-07-07 04:59:21 dependabot[bot] Bump moment from 2.22.1 to...
dependabot/npm_and_yarn/moment-2.29.2 41c4309 2022-04-09 08:12:46 dependabot[bot] Bump moment from 2.22.1 to...
dependabot/npm_and_yarn/node-sass-7.0.0 ce28a54 2022-02-10 16:22:04 dependabot[bot] Bump node-sass from 4.12.0...
dependabot/npm_and_yarn/shelljs-0.8.5 da33b87 2022-01-15 11:03:37 dependabot[bot] Bump shelljs from 0.7.8 to...
feature/btm2_ui 4068edd 2021-09-01 18:15:34 j style: update peers style
feature/btm2 bb328b8 2021-06-23 17:41:22 j fix: hide cross chain
dependabot/npm_and_yarn/lodash-4.17.21 7a7f277 2021-05-07 05:54:55 dependabot[bot] Bump lodash from 4.17.14 t...
dependabot/npm_and_yarn/node-sass-4.13.1 2dbda2d 2020-09-04 09:36:13 dependabot[bot] Bump node-sass from 4.12.0...
dependabot/npm_and_yarn/lodash-4.17.19 3e91e76 2020-07-16 08:35:17 dependabot[bot] Bump lodash from 4.17.14 t...
master 69d4d4b 2020-02-06 11:45:24 Zhiting Lin fixed the create asset stri...
politic 9e2204e 2020-01-09 11:38:39 Zhiting Lin fixed the filters.
politic-old b058557 2019-12-19 11:19:53 Zhiting Lin Revert "update tripple tags...
vapor e56b0e1 2019-10-23 17:00:22 Zhiting Lin update the chain transactio...
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

README.md

Bytom Dashboard

Development

Setup

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

ES6

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:

https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd

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