Coder Social home page Coder Social logo

stock-dashboard-backend's Introduction

Stock Quote Dashboard - Spring WebFlux Backend

Stock Quote Dashboard is a end-to-end demo for how to boost the network throughput between browser and REST API backend using HTTP/2 protocol, this repo is the Spring WebFlux implementation, for the React frontend part, you can find it here.

For the overview of Stock Quote Dashboard, please visit my medium post.

Architecture

This repo contains 4 maven sub-modules

  • quote-webflux-api - the Embedded Netty backend to query the market data cached in MongoDB Altas.
  • datafeed-scheduler - the schedule job to get market data from IEX Cloud API and write it into MongoDB Altas as cache.
  • core-domain-library - the pojo and other common library to share among both above modules
  • iexcloud-api-wrapper - the REST API client wrapper for IEX Cloud API

Run quote-webflux-api backend

Before start the spring boot project, first you have to define following properties to specify your altas login.

mongodb-altas:
  login: <your-mongodb-altas-login>
  passwd: <your-mongodb-altas-password>
  cluster-domain: <your-mongodb-altas-domain>

Run datafeed-scheduler to get market data

Before start the spring boot project, first you have to define following properties to specify your IEX API token and altas login.

iex-cloud:
  base-url: https://cloud.iexapis.com/stable/
  api-token: <your iex cloud token>
  
mongodb-altas:
  login: <your-mongodb-altas-login>
  passwd: <your-mongodb-altas-password>
  cluster-domain: <your-mongodb-altas-domain>

stock-dashboard-backend's People

Contributors

kwonghung-yip avatar

Stargazers

 avatar

Watchers

 avatar  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.