GitXplorerGitXplorer
j

chart-stock-market

public
46 stars
10 forks
2 issues

Commits

List of commits on branch master.
Unverified
bc18657bfdeab328ba529ffaca0d3505c865c481

Create env.sample.js

jjmcilhargey committed 8 years ago
Unverified
0c584c6cc6754c28ae4fdf4e707c3ec105dc9769

Readme upload

jjmcilhargey committed 8 years ago
Unverified
4d2cd984109bc37a286f2776992ec0d1419c14ac

Remove .env references

jjmcilhargey committed 8 years ago
Unverified
2a3fbb299351eb502dd99344663e0de2d1e59a26

Changed io emits so all users receive stock update and delete requests so data stays in sync across users in real time

jjmcilhargey committed 8 years ago
Unverified
74582251aca089cbe8cad38c0cf8b69c068d1acd

Update to client-side URI for socket.io

jjmcilhargey committed 8 years ago
Unverified
05284cc5c22cd520c5baf841c3393d5969975115

Update to client-side URI for socket.io

jjmcilhargey committed 8 years ago

README

The README file for this repository.

Chart The Stock Market

Overview

A real-time stock tracking app that requests data through websocket connections and draws interactive graphs with d3.js and HTML5 canvas. Users can select individual stocks to display Twitter streaming data and explore relationship between company performance and Twitter sentiment.

A demo version of the app is located at https://stock-charts.herokuapp.com/

Install

The following must be installed to run the project:

  • Node
  • NPM
  • MongoDB

And to install the application dependencies:

$ npm install

Run

To access the Twitter streaming data, head over to https://apps.twitter.com/ and create a new app.

Save the Twitter API key, API secret, token key, and token secret as environment variables.

See the env.sample.js file for environment variable names.

For the financial data, get an API key from https://www.quandl.com/

Start up a local MongoDB instance or enter a URI in the environment variable.

To start the app:

$ npm run start

Navigate to

http://localhost:3000

Test

To run the test suite, type the command:

$ npm test

Stack

Front-End
HTML5 / CSS3
Javascript
React
Babel
Webpack
Back-End
Node.js
Express
MongoDB
Mongoose
Socket.io

License

MIT License