Giter Site home page Giter Site logo

stoker's Introduction

stoker

Basically your stock broker

Server & Client

  • Express
  • React
  • MVC approach

Needed tools

  • node
  • npm
  • gulp
  • yarn
  • mongo (enable oplog)
  • Hbase / Cassandra (Yet to be added)

Setup

  • Ensure mongo replSet is up (mongod --replSet rs01 )
  • Run express server ./stoker using gulp. Server runs ar port 3001
  • Navigate to ./stoker/stoker-client and run yarn start

Contributing

The commit message should describe what changed and why.

The first line should:

  • contain a short description of the change
  • be 50 characters or less
  • be entirely in lowercase with the exception of proper nouns, acronyms, and the words that refer to code, like function/variable names
  • be prefixed with the name of the changed subsystem and start with an imperative verb. Check the output of git log --oneline files/you/changed to find out what subsystems your changes touch.
  • Keep the second line blank.
  • Wrap all other lines at 72 columns.
  • If your patch fixes an open issue, you can add a reference to it at the end of the log. Use the Fixes: prefix and the full issue URL. For other references use Refs:

Sample Commit

subsystem: explain the commit in one line

Body of commit message is a few lines of text, explaining things
in more detail, possibly giving some background about the issue
being fixed, etc.

The body of the commit message can be several paragraphs, and
please do proper word-wrap and keep columns shorter than about
72 characters or so. That way, `git log` will show things
nicely even when it is indented.

Fixes: https://github.com/thelostone-mc/issues/2
Refs: http://eslint.org/docs/rules/space-in-parens.html

Collaborators

stoker's People

Contributors

thelostone-mc avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

stoker's Issues

Replace handlebars with react

To enable data refresh via events emitted by socket.io, handlebars isn't suitable!
Hence proposal to replace it with react!

socket.io mongo oplog setup

Enable mongo oplog and track that to monitor changes made to the collection stocks and emit an event with the updated dataset to all connected clients via socket.io

HBase / Cassandra Support for stokerCRUD

Being a time series application , a document based DB will not work in the future.
Querying might get complicated with mongo.

Hence a proposal to support a time-series db after discussing with @amrith92 :

  • Turn stockCRUD.js into an interface
  • Have a mongo implementation of the interface
  • Have a time series DB implementation of the needed functions in the interface.

Essentially build an adpater so switching between currently being used db mongo to hbase or cassandra becomes painless.

googleFinanceAPI : new Data Points needed

  • Identify endpoints
  • Fetch stock price for last 60 days & 120 days
  • Calculate standard deviation and update StockLog
  • Update schema of stockLog to accommodate newly calculated data points.

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.