Dan's HTTP Client

Goal: to make a simple HTTP client that doesn't obscure the HTTP protocol's simple, text-based wire format.

Running in development mode

You can run both the React dev server as well as the Electron shell in dev mode by running:

npm install
npm start

This uses foreman and some PowerShell scripts to run both processes at the same time.

To build the Electron app and a Windows Installer MSI file

Note: be sure to increment the VERSION variable in package.sh in order to make sure the MSI can upgrade an older installed version.

./package.sh

Development notes

  • Uses immer to make immutable changes in a much friendlier way than just pain JavaScript. Usually when you see the word draft in the code, assume that's an immer callback.