Nasdaq app is a stock market app that allows you to browse all stocks listed in Nasdaq exchange with their ticker, name, and details. You can view the app here: https://mariamkhmahran.github.io/nasdaq
The stack includes:
React
for building components and UIovermind
as a client-side cache and centralized storeTypeScript
for type safetystyled-components
for stylingreact-testing-library
for testingPrettier
andEslint
to maintain conformance to style guidelines
Polygon API was used to get all the data about the tickers and their open/close details
note: the app is using polygon's Free plan which only allows 5 requests/minute. When the app reaches this limit, an error screen will be shown.
The web app is a React app built on create-react-app
.
Here's an overview of the root directory tree:
./src/
- __tests__/ // tests
- assets/ // global assets (images & theme files)
- components/ // global components
- overmind-state/ // overmind state and configuration
- screens/ // app's main screens
- types/ // global types
- utils/ // global functions
-
screens/
The app consists of three main screens and two error screensMain Screens:
-
Splash Screen.
-
Explore Screen:
Explore a list of all stocks listed in Nasdaq exchange. Click on any of the stocks for further details.
-
Details Screen:
Learn more about the stocks and their daily open, high, low, and close (OHLC) values.
Error Screens:
-
404 Not Found.
-
Something went wrong.
-
All content is built to adjust smoothly to various screen sizes.
The app was deployed and hosted on Github pages. you can view the live version here.
To run the app locally for development follow the next steps:
- Clone the repository.
- Change your directory to nasdaq by running
cd nasdaq
- Run
yarn
to install dependencies.