Giter VIP home page Giter VIP logo

lightstreamer-example-stocklist-client-electron's Introduction

Lightstreamer - Basic Stock-List Demo - Electron Client

This project contains a demo application showing the integration between the Lightstreamer JavaScript Client library and Electron.

Demo ScreenShot

Details

This demo displays real-time market data for ten stocks generated by a feed simulator and is based on Basic Stock-List Demo.
This project shows how is it possible to integrate the JavaScript Client API for Lightstreamer into Electron, in order to quickly create cross-platform desktop apps embedding real-time web technologies.

If you want to go deeper into Electron, check out the Electron site.

Install

If you want to install a version of this demo pointing to your local Lightstreamer Server, create a local clone of this repository on your computer and follow these steps:

  • If you don't have npm installed on your system, please install it.
  • Note that, as prerequisite, the Lightstreamer - Stock- List Demo - Java Adapter has to be deployed on your local Lightstreamer Server instance. Please check out that project and follow the installation instructions provided with it.
  • Launch Lightstreamer Server.
  • Get the lightstreamer.min.js file from npm or unpkg and put it in the js folder of the demo (if that is the case, please create it).
  • From command line go into the Lightstreamer-example-StockList-client-electron folder and run npm install.

The client demo configuration assumes that Lightstreamer Server, Lightstreamer Adapters, and this client are launched on the same machine. If you need to target a different Lightstreamer server, please search this line:

var lsClient = new LightstreamerClient(protocolToUse+"//localhost:"+portToUse,"DEMO");

in renderer.js and change it accordingly.

The demo is now ready to be launched with npm start.

Build

To build the app by using Electron Forge, run the command npm run make.

Electron Forge creates the out folder where your package will be located.

See Also

Lightstreamer Adapters Needed by These Demo Clients

Related Projects

Lightstreamer Compatibility Notes

  • Compatible with Lightstreamer JavaScript Client SDK version 9.0 and Lightstreamer Server 7.4.

lightstreamer-example-stocklist-client-electron's People

Contributors

deepprojects avatar dario-weswit avatar acarioni avatar alessandroalinone avatar

Stargazers

Friedhold Matz avatar pmanca avatar  avatar

Watchers

James Cloos avatar  avatar Giuseppe Corti avatar  avatar Friedhold Matz avatar  avatar Gianluca Finocchiaro avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.