Skip to content

A dockerised node.js rest service that returns stock ticker prices from the stock exchange

Notifications You must be signed in to change notification settings

mohemos/modusbox

Repository files navigation

Prerequisites

  1. Node js 12
  2. Postman To test the endpoints
  3. Any text Editor
  4. Git
  5. Docker

Installation

Clone this project, cd into project folder and run:

//Using yarn
yarn
yarn prod

//Using npm
npm i
npm run prod

//using docker
docker build -t modusbox ./
docker run -p 4040:4040 modusbox

##.env file sample

NODE_ENV=
PORT=
API_VERSION=
API_URL=
INTRINIO_API_KEY=
ALPHA_VANTAGE_API_KEY=
FINANCIAL_MODEL_API_URL=

POSTMAN COLLECTION

Kindly import the link below to your postman client application

https://www.getpostman.com/collections/e54de785a07d0fb7885c

Test

Test is written for only room category

//using yarn
yarn test

//using npm
npm run test

App featutes Features

  • List stock tickers and prices
    • Filter by symbol
    • Limit returned result
  • Show company stock price history
    • show history based on provided date range
    • show history by number of days, weeks, months and years specified by user
  • Show company detailed profile
  • Show company recommended trend
  • Show company earnings
  • Show company statistics

About

A dockerised node.js rest service that returns stock ticker prices from the stock exchange

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published