How to use Electron as a local server for provide a simple page from cell phone using IP address?


#1

Hi. I need to create a remote control to control my electron application from my cell phone. I think that through a local server this is better. Can Electron take on the role of a local server so that I can access a specific page from it on my cell phone?


#2

Yes it can - you can use node packages like express or koa to build a web server into the underlying electron application.