Need help with loopback-graphql?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

Tallyb
202 Stars 17 Forks MIT License 223 Commits 9 Opened issues

Description

Adding graphql to loopback, based on Apollo Server

Services available

!
?

Need anything else?

Contributors list

# 103,337
markers
ionic
meteor
angular...
155 commits
# 184
nextjs
postman...
graphql...
angular...
56 commits
# 757,505
TypeScr...
JavaScr...
2 commits

Deprecation Warning:

I have been very bad at maintaining this repo, and do not see how I come back to it in the near future. I have seen that this repo is a fork that moved forward: https://github.com/yahoohung/loopback-graphql-server/. If anyone is willing to take maintaining this repo on themselves - you are welcome. Thanks for all the feedback...

Status

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",
    "graphiqlPath":"/graphiql"
  }

Requests will be posted to

path
path. (Default:
/graphql
);

Graphiql is available on

graphiqlPath
path. (Default:
/graphiql
);

Usage

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

geoPoint objects are supported as follow:

{"newNote": 
  {
    "location": {"lat":40.77492964101182, "lng":-73.90950187151662}
  }
}

Roadmap

See here the Github project

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.