GithubHelp home page GithubHelp logo

jeffmarston / fixalicious-ui Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 1.36 MB

Fixalicious UI using node.js and socket.io

License: MIT License

TypeScript 1.57% CSS 5.21% HTML 0.58% JavaScript 92.64%

fixalicious-ui's Introduction

FIXalicious UI

FIXalicious UI is a front end for the FIXalicious FIX simulator. It uses node.js, Angular, ag-grid, redis, and socket.io to provide a realtime and interactive UI for sending and automating FIX simulations.

Prerequisites

Design

Fixalcious-ui is a front end to Fixalicious, so it is quite useless by itself. This project has two parts, a node.js server and an Angular client.

The server communicates to Fixalicious using shared keys in Redis for realtime messaging, and HTTP REST calls to send new messages. It also persists configuration for the client, such as action templates and scenarios.

The client calls the server APIs to get data, and subscribes to a socket.io channel for realtime updates of FIX transations and session information.

System

Run it!

Client

The client is written in Typescript and needs to be built before it can be run. Make sure you have a recent version of Typescript installed! Change to the client folder, install dependencies, and build it:

> cd client
> npm install
> tsc

If you get compilating errors, your version of Typescript may be older. Sometimes Typescript has been installed by Visual Studio and that is in your PATH. If so, I recommend removing it from your PATH.

To see what version is running:

> tsc -v

To see where it's running from (on Windows):

> where tsc.exe

Server

The server only needs dependencies installed, so change to the server folder, install dependencies, and run the following:

> cd server
> npm install
> node server.js

That's it! you're up and running with the defaults. Navigate to localhost:4400 or go directly to the client.

http://localhost:4400/client

Options

Fixalicious can publish on multiple channels. By default, we listen to the channel "ui". This can be changed using the "subscriber" argument.

For all options, run with the -? switch:

> node server.js -?
Options:
  --port, -p        Port to serve HTTP content                 [default: "4400"]
  --subscriber, -s  FIXalicious channel                          [default: "ui"]
  --redis_host      Redis server hostname                 [default: "localhost"]
  --redis_port      Redis server port                          [default: "6379"]
  --help, -?        Show help                                          [boolean]

Usage Overview

fixalicious-ui's People

Contributors

ezesoftadmin avatar jeffmarston avatar

Watchers

 avatar  avatar  avatar

Forkers

wangkebin

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.