Node.js and React -app as a Windows service with .msi
One of my previous side projects was to build a small web app meant to be run on enterprise Windows server environment. The type of place where software is still installed manually by clicking through an installer. I wanted the app to run as a Windows service, and to have a minimal .msi -installer, so that more or less anyone could install the software. Instead of being smart and writing the app in C# and get the full tooling of Microsoft... I choose to do a modern web app with Node.js and React. I thought, how hard can it be to package it into a Windows service? It turned out to be pretty…
What it does
In the maker’s words, at launch
One of my previous side projects was to build a small web app meant to be run on enterprise Windows server environment. The type of place where software is still installed manually by clicking through an installer. I wanted the app to run as a Windows service, and to have a minimal .msi -installer, so that more or less anyone could install the software. Instead of being smart and writing the app in C# and get the full tooling of Microsoft... I choose to do a modern web app with Node.js and React. I thought, how hard can it be to package it into a Windows service? It turned out to be pretty hard. And not for any good reason, just a disparate ecosystem. Finally, I managed to do a basic app and package it as an .msi, but all my creative energy to continue was gone. To salvage a little of the project, I decided to upload a complete template app to Github (including build scripts). If someone wants to do the same thing, they just might save some time! The code is MIT licensed. Three essential things I struggled with were: - How to make the Node.js-app write local files (textfiles, SQLite..) - Node.js interacting with the Windows service daemon - Set up the service automatically when running the installer, including ARGV
Does the same job
all alternatives →



Full-stack Auth for React/Node by Wasp2023 · ▲241Free OSS auth without 3rd party services, deploy anywhere

More life & fun this month
the category →- TL
Life & fun · 10d ago · louisabraham.github.io

Photosynthesis fires two of your iPhone
Life & fun · 28d ago · photosynthesis.camera
SoloUno▲310Take control of hair pulling, nail biting & skin picking
Life & fun · 28d ago · solouno.io

Scroll through all 43,252,003,274,489,856,000 reachable Rubik's Cube permutations.
Life & fun · 26d ago · everycube.alen.is


Hi HN, I built Eigendrum, a web tool that solves the 2D wave equation for arbitrary shapes so you can hear what they sound like as drums. How it works: * Solves -∇²u = λu using finite element analysis (Kφ = λMφ) on a triangle mesh. * Validated to <0.1% error against closed-form solutions for circles (Bessel zeros) and rectangles. * Sound model factors in strike location, Rayleigh damping, and mallet width. * Includes Kac drums I & II to demonstrate identical sound spectra from different geometries. * No frameworks, build steps, or dependencies. Repo and tests:…
Life & fun · 26d ago · baselashraf81.github.io
Launched alongside, November 2023
the whole month →

Discover & book top creators to promote your product
Growth · 2023 · passionfroot.me



