How to run express within electron?
<p>I have been able to successfully run express within the electron app via repositories such as </p>

<p><a href="https://github.com/theallmightyjohnmanning/electron-express" rel="noreferrer">https://github.com/theallmightyjohnmanning/electron-express</a></p>

<p><a href="https://github.com/frankhale/electron-with-express" rel="noreferrer">https://github.com/frankhale/electron-with-express</a></p>

<p>However, I was advised not to do so due to the GNU GENERAL PUBLIC LICENSE that they impose. I am trying to create a commercial app that will monetize. Hence, a liscene like MIT might do, but not sure about GNU.</p>

<p>Anyhow, I have been trying to follow his procedure:
<a href="https://gist.github.com/maximilian-ruppert/a446a7ee87838a62099d" rel="noreferrer">https://gist.github.com/maximilian-ruppert/a446a7ee87838a62099d</a></p>

<p>But is running into some issues.
Heres what I have done so far.</p>

<pre><code># Clone the Quick Start repository
$ git clone https://github.com/electron/electron-quick-start

# Go into the repository
$ cd electron-quick-start

# Install the dependencies and run
$ npm install &amp;&amp; npm start
</code></pre>

<p>Then to get express</p>

<pre><code>$ express myapp
$ cd myapp

$ npm install
renamed myapp to just app
</code></pre>

<p>and now I am stuck at the part where i need to configure the electron <code>main.js</code> file or/and the render <code>index.html</code> file to link to the express app and have that run instead of the <code>index.html</code></p>

<p>Any help would be appreciated.</p>

<p>I am running on windows 10.</p>