Docs Hex.pm

PhoenixGenApi

The library help fast develop and api based on Phoenix Channel.

Concept

After received an event from client(handle_in) Phoenix Channel process will pass data to PhoenixGenApi to find final event & target node to execute than get result to response to client.

Installation

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

def deps do
  [
    {:phoenix_gen_api, "~> 0.0.1"}
  ]
end

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

The library is still in development phase but can use. We will update more in the future.