graph-qli
v1.0.2GrapghQLi
Quickly get started with GraphQL by auto generating schemas based on current REST endpoints
Usage
npm install graph-qli -g
gqcli create {{project_name}}
cd {{project_name}}
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.