Example Phoenix application demonstrating how to mount GraphQL Elixir Plug endpoints.
Hello GraphQL Phoenix is an example Phoenix application that demonstrates how to integrate GraphQL endpoints using the GraphQL Elixir ecosystem. It provides practical code samples for mounting GraphQL Plug endpoints within a Phoenix router, helping developers understand the setup and configuration process. The project solves the problem of learning how to effectively combine GraphQL with Elixir's Phoenix framework for building modern APIs.
Elixir developers who are building web applications with Phoenix and want to add GraphQL API capabilities. It is also useful for those learning GraphQL integration in the Elixir ecosystem.
Developers choose this project because it offers clear, runnable examples that reduce the learning curve for GraphQL in Phoenix. Its direct integration with plug_graphql and GraphQL Elixir Core ensures alignment with community standards and best practices.
Examples of GraphQL Elixir Plug endpoints mounted in Phoenix
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
The README demonstrates exactly how to mount GraphQL endpoints in a Phoenix router using plug_graphql, providing a straightforward implementation path for developers.
It includes practical code samples for integrating GraphQL with Ecto, covering common database operations like queries and mutations with seed data setup.
Built on plug_graphql and GraphQL Elixir Core, it aligns with community standards, ensuring compatibility with Elixir's tooling and best practices.
With step-by-step installation instructions, developers can quickly clone, configure, and experiment with the examples in a local environment.
As a reference implementation, it lacks examples for advanced GraphQL capabilities such as file uploads, batching, or subscriptions, which are common in production.
The installation requires editing database configurations in config/dev.exs and running migrations, adding overhead for quick experimentation or deployment.
The README is concise and assumes prior knowledge of Phoenix and GraphQL, so beginners might need to consult external resources for detailed explanations.