Stocks demo for tenefit.cloud.
Works with Node 10.
Run:
$ npm install
Before running the demo, you need to set eventSourceUrl
in src/App.js
to a valid URL. You can use the stock topic from your tenefit.cloud console for the sandbox.stocks
topic.
$ npm start
Runs the app in the development mode.
Open http://localhost:3021 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
npm run build
creates a build
directory with a production build of your app. Set up your favorite HTTP server so that a visitor to your site is served index.html
, and requests to static paths like /static/js/main.<hash>.js
are served with the contents of the /static/js/main.<hash>.js
file.