Demo: https://xdag.io/pools Web UI which displays the current network status of XDAG. Built by using React, Webpack and other wondeful projects.
- run 
npm installto install project dependencies - run 
npm startto start the Webpack development server - run 
npm run buildto build a production ready version 
- Copy files from 
/distand add them to a folder on your webserver. - Declare a global variable, 
window.networkBundlePath, which points to the location the files were added to. For example, the value for localhost:4000/assets/networkUI/ would be: 
<script type="text/javascript">
    window.networkBundlePath = '/assets/networkUI/';
</script>
- Load the main JS and CSS files
 
<link href="https://github.com/assets/networkUI/main.bundle.css" rel="stylesheet">
<script src="https://github.com/assets/networkUI/main.bundle.js"></script>
- Create a div with an ID to use as a mounting point for the application.
 - Finally, run 
xdagNetwork.default({rootNodeId: 'your div ID here'})to initialize the application. 
Open src/constants/constants.js and change production or development API_URL into your desired HTTP(S) address which is serving https://github.com/timlah/xdag-network-api.
This project mainly uses CSS Modules and SCSS for styling. Utility and theme level styles are located in src/styles. Component level styles are located in each components own folder.