Erlang: Easy and fast creation of web service with Cowboy and ZX

9 months ago
17

The path from an empty directory to a minimally working web server you can start playing with is not always straight forward, and for newcomers to Erlang in particular the traditional "Erlang release" concept can be a bit of a stumbling block. ZX brings a workflow more familiar to modern developers to the Erlang world and Cowboy is a popular, modern, and battle-tested webserver that fully implements http1, http2, spdy, websockets, etc. Together the combination is fantastic, whether you are familiar with Cowboy already or are just trying to figure out how to get your first Erlang web project up and running.

To install ZX you require an Erlang runtime on your system, visit this page:
https://zxq9.com/projects/zomp/qs.install.en.html
The one-liner install method for unix-type systems is very quick and easy.

The demonstration is performed on a unix-type system. ZX does work on Windows, but development is a bit more cumbersome on Windows, so be aware.

Loading comments...