This four-part series shows you how to write a url shortening service in Erlang using WebMachine. This is a nice step beyond a basic tutorial, in that it uses things like gen_server and the Mnesia database, so it looks more like a real application.
The full source code is also available.