graphcool-programmatic

1.2.4 • Public • Published

Just a programmatic version of https://github.com/graphcool/graphcool-cli to use in create-native-graphql-app.

graphcool-cli npm version CircleCI

📟 Manage your GraphQL backend from your terminal

Features

  • Instantly setup a production-ready GraphQL backend
  • Edit your schema locally and version control changes via GraphQL SDL
  • Supports multi-stage environment workflows

Quickstart

Watch this video tutorial 🎥 to get started with the CLI and follow the frontend quickstart guide.

# Create a new GraphQL backend
graphcool init

# Edit `project.graphql` to change schema and push updates using...
graphcool push

Check out the CLI in action:

Install

Installs the global graphcool command via NPM (or Yarn).

npm install -g graphcool

Usage

  Serverless GraphQL backend for frontend developers (https://www.graph.cool)
  
  Usage: graphcool [command]

  Commands:
    init          Create a new project
    push          Push project file changes
    pull          Download the latest project file
    export        Export project data
    endpoints     Print GraphQL endpoints
    console       Open Graphcool Console
    playground    Open GraphQL Playground
    projects      List projects
    auth          Sign up or login
    version       Print version
    
  Run 'graphcool COMMAND --help' for more information on a command.
  
  Examples:
  
  - Initialize a new Graphcool project
    $ graphcool init
  
  - Local setup of an existing project
    $ graphcool pull -p <project-id | alias>
    
  - Update live project with local changes
    $ graphcool push
    

Resources

Help & Community Slack Status

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

Readme

Keywords

none

Package Sidebar

Install

npm i graphcool-programmatic

Weekly Downloads

2

Version

1.2.4

License

MIT

Last publish

Collaborators

  • luandro