Open choir241 opened 8 months ago
in file networkNode.js line 147 you will see the add network node code. It sends the information to the end point '/register-and-broadcast-node'. The node then broadcasts new node info to add the other nodes in list. You can see this at line 182 in networkNode.js
Gotcha, thanks for the clarification!
User should be able to add/create nodes
Look at registerAndBroadcastNode method in MVC-OOP-MVMM branch to see how node information is broadcast to other nodes in list.
To see node broadcasing new node information to other nodes in the list, see registerNode method in MVC-OOP-MVMM branch.