English | 简体中文
DDN Explorer is an front-end application for presenting the information and activity on the DDN blockchain. It is built upon Ant Design and react framework UmiJS and deploy to ddnlink.github.io,
# clone appliction code
$ git clone git@github.com:ddnlink/ddn-explorer.git
$ cd ddn-explorer
# install deps
$ yarn
# runing app
$ yarn start
# test app
$ yarn test
# Build and deploy
$ yarn build
# tar
$ tar -zcf dist.tar.gz ./dist
Open http://localhost:8000 to view it in the browser.
## Framework
```bash
├── dist/ // built static files
├── docs/ // forks from dist and deploy to github.com
├── mock/ // mock
├── config/
├── config.js // umi config file
└── src/ //
|── assets/ // static resources
├── layouts/index.js // default layout
|── locales/ // multi language
|── models/
|── service/
├── pages/ // main pages
├── .umi/
├── .umi-production/
├── document.ejs
├── 404.js
├── page1.js
├── page1.test.js
└── page2.js
|── styles/ // global css
|── utils/
├── global.css
├── global.js
├── app.js
├── .umirc.js
├── .env
└── package.json
This project exists thanks to all the people who contribute. [Contribute].