Skip to content

Konicord/ExQuery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Exquery - Boilerplate

  • Simple GraphQL Mix Boilerplate

Installation

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

# Run "mix help compile.app" to learn about applications.
  def application do
    [
      extra_applications: [:logger, :graphql]
    ]
  end

# Dependencies for installation of the package(s)
def deps do
  [
    {:exquery, "~> 0.1.0"}
  ]
end

Our first Query

iex -S mix
iex> GraphQL.execute(TestSchema.schema, "{greeting}")
Output: {:ok, %{greeting: "Hello, world!"}}

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

About

๐Ÿ”‹ Upgrade your APi with GraphQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages