Drag drop electronjs


I am new to Electron Framework. I’m trying to develop desktop application using Electron Framework. I want to implement an use case like team viewer on the left side where I have local directories and on the right side I have network directories. I want to copy a file or folder from local to network using drag and drop functionality. How should i do that in JavaScript?