- Developed a web application with React to produce the view and Redux to manage the state.
- assets: contains logo and sorting arrow svgs
- components:
- Dashboard: the body of the webpage
- Graph: the line chart to show the retail stats
- Header: top bar with logo on the webpage
- Product:
- ProductSummary: the summary of product includes img, title, etc...
- ProductVisual: container for graph and table
- Table: the table to present the retail stats
- features:
- retail:
- retailSlice: Redux slice to take care of data management
- retail:
- mock: mock data, mock api and data interface
- redux: redux hooks and configs
- React
- Redux
- Typescript
- Recharts
This project used Create React App, the Redux, Redux Toolkit TS template, and Recharts.
In the project directory, you can run:
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.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.