Trade Event Search

A search client for Trade Events.

Setup

npm install
npm start
open http://localhost:3000

Linting

This boilerplate project includes React-friendly ESLint configuration.

npm run lint

Build & Deploy to GitHub Page

npm run clean && npm run build && npm run deploy

Use as a plugin.

Include the build output (e.g. bundle.js and explorer.css) within the head tag.

<html>
  <head>
    ...
    <script src="bundle.js"></script> <!-- Trade Event Search js -->
    <link href="explorer.css"></script> <!-- Trade Event Search styles -->
    ...
  </head>
  <body>
  ...
    <div id="main"></div>
    <script>
      // Explorer is provided by bundle.js.
      // Explorer.render(<elementId>) must be called after the DOM element.
      Explorer.render('main')
    </script>
  </body>
</html>

Dependencies