Zap is a development web/proxy server that knows how to start and manage your development server processes, and provides SSL access to them.
Zap allows you to specify any command to start a backend server, we've tested it with:
- Elixir/Phoenix
- Ruby/Rails
- Go/Buffalo
- Go/Hugo
- Simple Proxy
- Static HTML
- SSL - creates a self-signed cert for each domain so you can test SSL in dev
- Process management - start, monitor, spin down idle apps
- Log watching - watches log files and restarts application on certain triggers
- Works on macOS, Linux and Windows (some manual installation required on Linux & Windows)
Either grab a binary for your platform from the Releases page or grab the code and build your own
go build -o zapd main.go # build the zapd binary
zapd -install # run the installer
- Status UI
Inspired by pow (http://pow.cx/) and puma-dev (https://github.com/puma/puma-dev)
To recompile the HTML templates, build and restart the server
pushd zap; go-bindata -pkg zap -o templates.go templates/; popd && go build -o zapd main.go && pkill zapd