Name: graphql-up
Owner: Prisma
Description: Get a ready-to-use GraphQL API for your schema
Created: 2017-03-11 15:56:45.0
Updated: 2018-05-23 14:46:32.0
Pushed: 2018-01-05 09:13:29.0
Homepage: https://www.graph.cool/graphql-up/
Size: 2828
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
graphql-up
is the fastest way to get a free & ready to use GraphQL API. It works out of the box with Apollo & Relay and supports GraphQL subscriptions.
Tweet @model {
: ID! @isUnique
xt: String!
thor: User! @relation(name: "Tweets")
User @model {
: ID! @isUnique
me: String!
eets: [Tweet!]! @relation(name: "Tweets")
Copy the schema above and save it as twitter.graphql
. (Read more about the IDL syntax.)
stall the CLI via npm (or yarn)
install -g graphql-up
eate GraphQL API using your local schema file
hql-up twitter.graphql
This is how it should look like (see this video tutorial for more details):
age: graphql-up <schema>
Get a ready-to-use GraphQL API for your schema
Read more at https://www.graph.cool/graphql-up/
amples:
graphql-up twitter.graphql # local schema file
graphql-up https://graphqlbin.com/twitter.graphql # fetch schema from URL
More examples: https://github.com/graphcool/graphql-up
tions:
--version, -v Print version of graphql-up
--help, -h Show help message
--minimal, -m Only print URLs of created API
hql-up twitter.graphql
hql-up https://graphqlbin.com/twitter.graphql
You only need to provide the schema, graphql-up will create a GraphQL API for you. The actual magic happens on the servers sponsored by Graphcool.
You can easily add a graphql-up
badge to your own tutorials, docs & examples. Just add the following Markdown snippet and replace the __SCHEMA_URL__
with a link to your schema file. (See here for a snippet generator.)
raphql-up](http://static.graph.cool/images/graphql-up.svg)](https://www.graph.cool/graphql-up/new?source=__SCHEMA_URL__)
Do you have another interesting example in mind? Add it here. ?
Join our Slack community if you run into issues or have questions. We love talking to you!