Name: StockFlux
Owner: Scott Logic Ltd
Description: StockFlux is a desktop application developed by Scott Logic that uses the OpenFin HTML5 container together with React, Redux, ES2015 and d3fc
Created: 2015-12-02 09:18:18.0
Updated: 2018-01-06 00:06:05.0
Pushed: 2017-12-13 19:20:15.0
Size: 3973
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
StockFlux is a desktop application developed by Scott Logic that uses the OpenFin HTML5 container.
Here are a few things to try:
In order to install the application, download StockFlux installer zipfile, unzip and run the executable. If you haven't already installed an OpenFin application, this will install the required runtime. It'll also add shortcuts to StockFlux to your desktop and start menu.
This is an 'evergreen' application, each time it launches the application code is downloaded (from GitHub pages), ensuring that it is always up-to-date.
The application is built using React and ES2015, transpiled via Babel. The charts are rendered using d3fc, a Scott Logic open source project which provides a number of components that allow the creation of bespoke interactive charts. The bulk of the charting code is adapted from BitFlux, which showcases the capabilities of d3fc.
The displayed data is real and provided by Quandl. The application uses separate Quandl API keys for development and release to mitigate chances of crossing Quandl's rate limits.
npm, the package manager for Node.js, is used to manage the project's dependencies. Grunt, a JavaScript task runner, is used to test and build the project.
Install dependencies:
install
Start the webpack development server:
start
Start the remote redux dev tools server:
run remotedev
Navigate to http://localhost:8000
or use the redux devtools extension to inspect and dispatch actions.
Launch the OpenFin runtime:
run openfin:dev
Run webpack-dev-server with the development config: npm start
Launch OpenFin with the development setup (requires the dev server to be running): npm run openfin:dev
Build and serve the production bundle: npm run prod
Launch OpenFin with the production setup (requires the server to be running): npm run openfin:prod
There is a test plan that covers the main features and behaviour. This should be used as a basis for testing before releasing and also the main features covered on testing PR changes.
Run the full suite of unit tests: npm test
Lint and run the tests: npm run ci
Run the tests once initially and on any subsequent changes to JavaScript files: npm run test:watch
Get details on the test coverage: npm run test:cov
Please see CONTRIBUTING.md for details of how to contribute.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.