This project is a financial data filtering application that allows users to fetch, filter, and analyze annual income statements for Apple Inc. (AAPL) using data from a public API. The application is built with React and TypeScript, and styled using TailwindCSS.
- Fetch annual income statements for AAPL from the Financial Modeling Prep API.
- Display key financial metrics in a responsive table format.
- Filter data based on:
- Date Range
- Revenue
- Net Income
- Sort data by:
- Date (ascending/descending)
- Revenue (ascending/descending)
- Net Income (ascending/descending)
- React (with TypeScript)
- TailwindCSS
- Financial Modeling Prep API
-
Clone the repository:
git clone <repository-url> cd financial-data-filtering-app -
Install dependencies:
npm install -
Configure the API key: Replace
<api_key>in theuseFetchData.tsfile with your actual API key from Financial Modeling Prep. -
Run the application:
npm start -
Open your browser: Navigate to
http://localhost:3000to view the application.
- Use the filter form to specify criteria for filtering the financial data.
- Click on the sort buttons to arrange the data in the desired order.
- The table will update dynamically based on the applied filters and sorting options.