title: P2P file sharing in JS
body: <p>I received a requirement in which 
  --I have to share files (PDF, Txt, Images) from one client to another client without any central server in between which saves the documents.</p>
  
  <p>--User does not want to have any IAM in place so machines have to be identified by Clients IP address or any other unique ID of System on which application is installed.</p>
  
  <p>I do not have any clue how to do this, Till now my research has pointed towards WebRTC, but I also came to know that using WebRTC for file sharing is dangerous as it may loose some data.</p>
  
  <p>I need help in 
  --understanding from scratch and how should I start tackling this challenge from ground to up.</p>
  
  <p>So If someone can please explain the full process of setting up direct client to client connection till encrypted file sharing will be very helpful.</p>