A simple stock comparison application built on React and TypeScript with chart.js for visualization.
This app allows searching by company name or symbol and to compare stocks based on historical EPS data.
- Add e2e tests
- Add more comments and documentation
- Add utility functions around chart data and REST API URLs
- Improve error handling.
- Improve handling around API limits issues
This repo uses eslint for linting and React testing library for tests. Husky is used to lint and test before each commit and GitHub workflows is used for CI.
For the REST API calls to work, you'll need to create a .env
file in the root of this project with the REACT_APP_API_KEY
key.
REACT_APP_API_KEY=your_key
You can create an API key here.
- This app uses node v16. You can install
nvm
and runnvm use v16
.
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.