This is an Elixir Chat Server based on Chris Moos's Building an Erlang Chat Server with Comet the source of which can be found on Github.
After porting the original Erlang code we'll then make some changes:
- Allow multiple rooms
- Use Web Sockets instead of Comet
For the web sockets changes, we'll take some of the ideas from Loïc Hoguin's Erlang DC Feb 2013 talk on Cowboy and Web Sockets Youtube video and Github code.
This tutorial is split into different parts to make it easier to follow along, rather than using git tags or branches.
- Part 1 - The Original Chat Server Backend
- Part 2 - Adding the Web Client
- Part 3 - Adding Multiple Rooms
- Part 4 - Using Web Sockets