PlugSessionArangodb

The ArangoDB Plug.Session adapter for the Phoenix framework.

Usage

# mix.exs
defp deps do
  [{:plug_session_arangodb, "~> 0.9.0" }]
end

config.exs

config :arangox, :json_library, Poison

config :arangox, :session,
  endpoints: "http://localhost:8529",
  username: "username",
  password: "password",
  database: "database",
  collection: "sessions",
  pool_size: 3

endpoint.ex

plug Plug.Session,
  store: :arangodb,
  key: "_xxxxx_key"