Install as a service on Windows

  1. Download NSSM
  2. create run.bat file with content "node ."
  3. In a command prompt: nssm.exe install [servicename]
  4. in NSSM GUI point to run.bat