Skip to content

Basic stock visualizer using Discounting Cash Flows API

Notifications You must be signed in to change notification settings

net2221/stocks-visualizer

 
 

Repository files navigation

Stock Visualizer App

This React app provides a financial dashboard that allows users to visualize and analyze financial data for different companies. It includes various components for displaying key financial metrics such as assets and liabilities, debt and cash equivalents, cash flow per share, net debt and free cash flow, returns, revenue and income, margins, cash, acquisitions, and shares outstanding.

Getting Started

Prerequisites

Before running the app, ensure you have the following installed:

Installation

  1. Clone the repository:

    git clone https://github.com/MaxwellKnight/stocks-visualizer.git
    
  2. Change into the project directory:

    cd stocks-visualizer
    
  3. Install dependencies:

    npm install
    
    #or
    
    yarn

Running the App

  1. Run the app locally with the following command:

    npm run dev
    
    #or
    
    yarn start
    

    Open http://localhost:5173 in your web browser to view the app.

CORS Issue

When running the app locally, you might face CORS issues, preventing the app from fetching data from certain APIs.

Solution

To overcome CORS issues during development, you can use a Chrome extension that disables CORS. One such extension is "Allow CORS: Access-Control-Allow-Origin."

Instructions:

  1. Install the "Allow CORS: Access-Control-Allow-Origin" extension from the Chrome Web Store.

  2. Enable the extension while running the app locally.

  3. Keep in mind that this extension should only be used for development purposes and should not be enabled while browsing other websites.

Financial Dashboard

Copy and paste it as needed!

About

Basic stock visualizer using Discounting Cash Flows API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.1%
  • CSS 4.8%
  • JavaScript 1.2%
  • HTML 0.9%