riccjohn / helloplug

https://codewords.recurse.com/issues/five/building-a-web-framework-from-scratch-in-elixir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Helloplug

TODO: Add description

Installation

If available in Hex, the package can be installed by adding helloplug to your list of dependencies in mix.exs:

def deps do
  [
    {:helloplug, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/helloplug.


To connect Helloplug to cowboy:

$ iex -S mix

Start a live server

{:ok, _} = Plug.Adapters.Cowboy.http Helloplug, []

Visit localhost:4000

Reload session to update with any code changes

r Helloplug

About

https://codewords.recurse.com/issues/five/building-a-web-framework-from-scratch-in-elixir


Languages

Language:Elixir 96.1%Language:HTML 3.9%