Git Product home page Git Product logo

stocks-chart's Introduction

Chart Stock Data

A web application that displays stock prices of companies in chart form. The application syncs in real time across clients, i.e. what one client adds or removes is reflected in the other clients browser, without need of refreshing the browser. This is accomplished by using WebSockets. Libraries and APIs used include socket.io (for WebSocket), Quandl API (for getting stock prices) and Highstock API (for displaying charts of stock prices)

Getting Started

Prerequisites

  1. node
  2. npm
  3. mongodb

Installation

Clone the project

git clone https://github.com/khansubhan95/chart-stock.git

run

npm install

to install the dependencies

Development

Rename .env.template to .env

Sign up on Quandl and insert into .env the generated API key

The project uses MongoDB to store data so make sure you have it installed. Use the MONGO_URI to access a DB from the app.

Deployment

This application was deployed on gomix. To deploy, create a GitHub repository, push the project to the repo. Create a new gomix application, and import the repo into it by going to project_name > Advanced Options > Import from GitHub . Do this process everytime, you change your repo. Copy contents of .env to env.

MONGO_URI Use a third party service like mLab to make a MongoDB database and note down the access point. Insert this URI into the mongo variable in .env

Builtwith

  1. socket.io
  2. Quandl
  3. Highstock
  4. ejs

View other dependencies in package.json

Contributing

  1. Fork it
  2. Create your branch
  3. Commit your changes
  4. Push to branch
  5. Submit a pull request

stocks-chart's People

Contributors

khansubhan95 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jaswalabhijeet

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.