Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.02 KB

File metadata and controls

29 lines (19 loc) · 1.02 KB

Saz - Example Elixir/Phx App with Absinthe GraphQL

This is an example Elixir on Phoenix 1.4 with Absinthe GraphQL app.

This example app also includes a simple implementation of the Absinthe team's Elixir
Dataloader for batch data loading (inspired by Facebook's Dataloader).

GraphiQL

After you install and run this project, go to localhost:4000/api/graphiql to test out its GraphQL queries/mutations.

Load up ./GraphiQL-Workspace.json to see some example queries/mutations.

Install and run

To start the Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Start Phoenix endpoint with mix phx.server

Learn more