1.0.2 • Published 7 years ago

graph-qli v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

GrapghQLi

Quickly get started with GraphQL by auto generating schemas based on current REST endpoints

Usage

  1. npm install graph-qli -g
  2. gqcli create {{project_name}}
  3. cd {{project_name}}
  4. npm run dev

Query

gqcli query {{query_name}}

Will ask to supply a schema or an endpoint.

After validation of the schema the project will be updated to include the new query

Mutation

gqcli mutation {{mutation_name}}

Will ask to supply a schema or an endpoint.

After validation of the schema the project will be updated to include the new mutation.