graph-qli

1.0.2 • Public • Published

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.

Dependencies (4)

Dev Dependencies (4)

Package Sidebar

Install

npm i graph-qli

Weekly Downloads

1

Version

1.0.2

License

ISC

Last publish

Collaborators

  • rphansen91