Run GraphQL queries right from the terminal.
Install it once globally with yarn:
yarn global add graph-url
Or use npm:
npm install -g graph-url
A GraphQL library for building queries in the terminal
License: MIT License
The Readme.md needs better overall instructions and documentation on how to use this tool. Ideas to include:
At present the test is hitting the student example graph for lift status on www.moonhighway.com. We should mock that request so that tests can be easily run locally without internet access.
We need the ability to send requests to secure endpoints by incorporating authorization headers. It would be nice to allow users to login with an oauth2 provider and save their token for future requests. Maybe this should be several issues?
main requirements
gurl -u <URL> -f <FILE> -q <QUERY> -t, --t <TOKEN>
gurl --user --password
additional requirements
We need a way to run a graphql subscription and update the terminal results when the subscription pushes new data.
gurl --file myQuery.graphql --subscription watchLifts
We need a way to watch local query files for changes and then automatically re-run the query when the change occurs.
gurl --file myQuery.graphql --watch
We need a way to tell gurl
to run a query by name or a mutation by name:
Run a single query
gurl --fileName myQuery.graphql --query getNames
Run multiple queries
gurl --fileName myQuery.graphql --query getNames, getDates
Run a mutation
gurl --fileName myMutation.graphql --mutation setNames
I think it would be cool to be able to run gurl
and get a multi-paneled terminal application built
with React Blessed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.