This project is a single-page React app created using Tailwind CSS and Recharts to graph financial market data fetched via Finnhub's Stock API.

Deployed Site:

Table of Contents

Installation

Clone

  • Clone this repo to your local machine using git clone https://github.com/danneekim/react-stock-dashboard.git

Local Development Setup

Update and install required packages

$ npm install

After installation, in the project directory:

$ npm start
  • Runs the app in development mode at http://localhost:3000 in the browser.
  • The page will reload when changes are made.

Features

  • User is able to search tickers of common stocks.
  • User is able to view a graph of a stock's market data.
  • User is able select date range of graph's data (1 Day, 1 Week, 1 Month, 1 Year).
  • User is able to view a tooltip upon hovering over graph.
  • User is able to toggle between light/dark mode.
WIP/R&D Features
  • Able to view/search crypto graph data.
  • Display UI loader while fetching data from API.
  • Render default stock currency -- if not USD.
    • Calculate USD conversion of stock value.
  • Create a favorites list to save/pin stocks/crypto
    • Create user profile/login/registration
    • Save user preferences via browser's localStorage.
  • TBD...

References

Finnhub API

TailWind CSS

Recharts API

react-gh-pages