Name: cowboy-elixir-example
Owner: Xebia BV
Description: Examples of using Cowboy with Elixir
Created: 2016-05-13 07:33:12.0
Updated: 2016-05-13 07:33:12.0
Pushed: 2016-05-13 13:54:46.0
Homepage: null
Size: 108
Language: Elixir
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Examples of using the Cowboy web server with Elixir. I wrote these because the only other good example I could find was out of date - it had been written before Hex became a thing, and didn't work with current versions of Elixir.
This one is tested to work with:
Make sure you have elixir >= 1.0.0 installed. Clone the repo, and change directory to it. Run the following commands:
mix deps.get
mix deps.compile
iex -S mix
Then open a browser to localhost:8080.
Pull requests are welcomed. Since this is an example designed for folks new to both Elixir and Cowboy, make sure all code is very thoroughly documented, please. :-)
This code is released under the MIT license. See LICENSE.