xebia/cowboy-elixir-example

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Cowboy Elixir Example

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:

Usage:

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.

Examples included:
Contributing:

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. :-)

License:

This code is released under the MIT license. See LICENSE.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.