The test consists out of 2 parts: a. Server b. Client
- cd iris-chart-server
- yarn
- yarn start
NOTE: Server will be running on port 8080
- cd iris-chart
- yarn
- yarn dev
NOTE: Client will be running on port 5173, so start the app by going to http://localhost:5173/
-
Obiously I could not use your http://test.dev.irisns.com end point due to CORS, hence the dedicated REST API providing a mock data taken manually from your end point.
-
I used Highcharts for a chart lib.
-
I used Material UI Table (DataGrid component).
-
I used Vite as a Create-React-App is deprecated.
-
This is just a quick thing. If building something serious, I'd obvioulsy do automated tests as well (Cypress).
James La Guma