Is possible to use socket.io to create a bidirectional communication when a provided link is opened and to create a tunnel using ngrok from within an electron vue app?
// import dependencies - node context of electron see ipc
const { ipcMain } = require('electron');
const http = require('http');
? not sure on this part - socket.io implementation
const io = require('');
let server;
ipcMain.on('start-server', () => {
server = http.createServer( (req, res) => {
//serve a vue app where the external url is provided using localhost:15000 tunneling
...
}).listen(15000);
});
How I proceed correctly?