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.
Before running the app, ensure you have the following installed:
-
Clone the repository:
git clone https://github.com/MaxwellKnight/stocks-visualizer.git
-
Change into the project directory:
cd stocks-visualizer
-
Install dependencies:
npm install #or yarn
-
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.
When running the app locally, you might face CORS issues, preventing the app from fetching data from certain APIs.
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."
-
Install the "Allow CORS: Access-Control-Allow-Origin" extension from the Chrome Web Store.
-
Enable the extension while running the app locally.
-
Keep in mind that this extension should only be used for development purposes and should not be enabled while browsing other websites.
Copy and paste it as needed!