In the project directory, you can run:
npm i
Start the API server :
npm run api
Open http://localhost:4000/stocks to view it in the browser.
Start the development server :
npm start
Open http://localhost:3000 to view it in the browser.
To test the timeout feature, stop the api server and relaunch it via :
npm run api-delay
Refresh the application to notice the timeout message, and data source beeing the localstorage.
Launches the test runner in the interactive watch mode.