Giter Site home page Giter Site logo

anhtnt90 / lightning-trader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ccoenraets/lightning-trader

0.0 1.0 0.0 3.49 MB

Sample trader desktop app built with React and the Lightning Design System

JavaScript 40.85% HTML 42.67% CSS 16.48%

lightning-trader's Introduction

Lightning Trader

Sample Trader Desktop application built with React and the Lightning Design System.

Check out this video for a quick walkthrough:

Video

The back-end is built with Node.js and Socket.io.

Experience the Application

The application is hosted live here: http://lightning-trader.herokuapp.com

Deploying your Own Instance

Follow the steps below to deploy your own instance:

  1. Make sure you are logged in to the Heroku Dashboard. You can quickly create a free account if you don't have one.

  2. Click the Button below to deploy the application on Heroku.

Deploy

Your own instance of the application is automatically deployed.

Local Installation

Follow the instructions below if you prefer to install the application on your local machine:

  1. Clone this repository or download and unzip this zip file.

  2. Navigate to the lightning-trader directory and install the project dependencies:

    npm install
    
  3. Type the following command to build the client application:

    npm run build-client
    

    The project is written using ECMAScript 6 including ECMAScript 6 modules.

  4. Type the following command to start the server:

    npm start
    
  5. Open a browser and access http://localhost:3000

Using the Socket.io Feed

By default the application uses a mock feed simulated at the client-side. To use the actual Socket.io feed:

  1. Open js/app.js

  2. Comment out the module import for the mock client-side feed:

    // import * as feed from './services/feed-mock';
    
  3. Uncomment the module import for the real socket.io feed:

    import * as feed from './services/feed-socketio';
    
  4. Rebuild the client:

    npm run build-client
    

lightning-trader's People

Contributors

ccoenraets avatar

Watchers

James Cloos 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.