prismagraphql/graphql-up

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

graphql-up

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.

Features
Quickstart
 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):

Usage
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
Local schema file
hql-up twitter.graphql
Hosted schema file
hql-up https://graphqlbin.com/twitter.graphql
How it works

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.

Add graphql-up to your repositories/docs

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__)
Schema Examples

Do you have another interesting example in mind? Add it here. ?

Help & Community Slack Status

Join our Slack community if you run into issues or have questions. We love talking to you!


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.