node package manager



Build Status

GraphQL Server for Loopback (Apollo Server)

Combine the powers of ApolloStack GraphQL with the backend of Loopback.
All of Loopback models are exposed as GraphQL Queries.
Define models in Loopback to be exposed as REST APIs and GraphQL queries and mutations *.
Use the Apollo clients to access your data.

Loopback Graphql

Getting started

npm install loopback-graphql

Add the loopback-graphql component to the server/component-config.json:

"loopback-graphql": {
    "path": "/graphql",

Requests will be posted to path path. (Default: /graphql);

Graphiql is available on graphiqlPath path. (Default: /graphiql);


Access the Graphiql interface to view your GraphQL model onthe Docs section. Build the GraphQL queries and use them in your application.

The following actions are supported: ### Queries

  • Single entity by ID
  • Multiple entities with pagination (first, after)
  • Relationship between entities (belongs to, has many)


  • Save single object
  • Delete single object


See here the Github project