This is a test task on using WebSockets and React. Each button sends a json data to server through the WebSocket connection. To see the response - open browser console panel in developer tools.
To start the app:
-
Run 'yarn' from ./src directory to install dependencies
-
Run 'yarn start' from ./src directory and 'npx fake-web-socket-server' from ./API directory
-
You can see server response in the browser console