Skip to content

Chatie/graphql

Repository files navigation

GRAPHQL

npm version Build Status

GraphQL

Chatie GraphQL Schema & Settings & Development Fixtures

@chatie/graphql is a system module for https://www.chatie.io

Develop

npm install
npm run gc:login
npm run gc:deploy
npm run gc:playground

Deploy Development Server

1. Start a local server

$ npm gc:local:start
# or
$ chatie-graphql-local-start

2. Stop the local server

$ npm gc:local:stop
# or
$ chatie-graphql-local-stop

Test

npm test

GRAPHQL SCHEMA

  1. See: /graphcool.yml
  2. See: /types/*.graphql

Platform

Node.js

https://nodejs.org/api/os.html#os_os_platform

  • aix
  • darwin
  • freebsd
  • linux
  • openbsd
  • sunos
  • win32

Python

https://docs.python.org/dev/library/sys.html#sys.platform

  • cygwin
  • darwin
  • linux
  • win32

API

LocalServer Class

Provide local server managing tools, unit testing helper functions and fixtures.

RESOURCES

  1. An introduction to Graphcool framework
  2. GraphQL Schema Language Cheat Sheet
  3. watchQuery + Subscriptions
  4. Introducing GraphQL Subscriptions

Background Knoweledge

  1. The Fullstack Tutorial for GraphQL
  2. Zero to GraphQL in 30 Minutes – Steven Luscher
  3. Angular + Apollo Tutorial - Introduction

Code & Tools

  1. auth0-rule-authentication for GraphCool

Strong Typing for TypeScript

  1. gpl2ts: GraphQL + Typescript: Strongly Typed API Responses
  2. graphql-code-generator: GraphQL Code-Generator 1.0
  3. apollo-codegen: Apollo GraphQL code generator
  4. quicktype: Build better apps faster by generating types from data.
  5. Apollo Client + TypeScript example

NPM Scoped Module

SERVERLESS GRAPHQL

@chatie/graphql is using the Graph.Cool service.

Learn more about Graph Backend as a Service: GraphCool - https://graph.cool

AUTHOR

Huan LI <zixia@zixia.net>

profile for zixia on Stack Exchange, a network of free, community-driven Q&A sites

COPYRIGHT & LICENSE

  • Code & Docs © 2017-2018 Huan LI <zixia@zixia.net>
  • Code released under the Apache-2.0 License
  • Docs released under Creative Commons

About

GraphQL Schema, Providers and APIs for Chatie

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published