Elixir wrappers for Zuppler Endpoints
First add zuppler_elixir to your mix.exs
dependecies:
[{:zuppler_elixir, "~> 0.0.1"}]
and run $ mix deps.get
.
Then you need to setup the production url for zuppler endpoint. In config/prod.exs
add:
config :zuppler_elixir, Zuppler.Endpoint,
restaurant_url: "production_url"
- Restaurant GRAPHQL endpoint:
This endpoint will expose all the important restaurant fields to be consumed from server and mobile clients
Zuppler.Restaurant.find(query)