PROXY
For project you must to have downloaded node.js and mongoDB on your local machine.
Manual:
- In root directory of project run npm install;
- Then in same directory run node switch.js for running switch server;
- Open a different terminal and go to one of the directories: sideA or sideB;
- Run node controller.js for init first client on switch server;
- In switch.js terminal you will see availables addresses, copy one of them.
- Open a different terminal and go to another directory: sideA or sideB, depend on your prevent choose;
- Run node controller.js < past id >. You will see message exchange between the controller and the chosen device.