title: How can I convert a HTML template into a Node.JS web app
body: <p>I'm starting out on my Node.JS journey and I discovered a fantastic boilerplate over at <a href="https://github.com/azouaoui-med/pro-sidebar-template" rel="nofollow noreferrer">https://github.com/azouaoui-med/pro-sidebar-template</a>. I'm unsure though how to turn the static html into a web app. Just wondering how someone with more experience would do this?</p>
  
  <p>Do I take the html and translate it into a PUG template file? I'm guessing to then make the onclick / links actually run some code, i'd need to point them at the routes setup in the web app?</p>
  
  <p>Sorry to ask such inexperienced questions, web apps seem to take a vastly different approach to the desktop apps i'm familiar with programming</p>
  
  <p>I'm wanting to create a web app that runs on a server, which I will later put on the desktop via electron.</p>
  
  <p>thanks</p>