Userpilot / elixir-firestore

An abstraction over Google's Firestore API for convenience and configurability.
1 stars 0 forks source link

Elixir Firestore Wrapper

An abstraction over Google's Firestore API for convenience and configurability, providing you with the following capabilities:

TODO:

Installation

The package can be installed by adding firestore to your list of dependencies in mix.exs:

def deps do
  [
    {:firestore, git: "https://github.com/Userpilot/elixir-firestore.git", ref: "{{COMMIT_HASH}}"}
  ]
end

Include the Firestore.Repo module in your application, you can put the use macro in your app's Repo module:

defmodule MyApp.Firestore.Repo do
  use Firestore.Repo,
    otp_app: :my_app,
    tesla_adapter: :hackney,
    pool_size: 50,
    read_only: false
end

Options:

Usage (TODO)