<< back

Altair GraphQL Client 7.3.6

GraphQL client

Category: Developer Tools
Price: Free
Popularity: Low
Version String: 7.3.6
Release Date: 2024-09-15
Architecture: Intel & AppleSilicon(ARM)
Minimum OS: macOS 10.13
Vendor Name: Samuel Imolorhe
Homepage: altair.sirmuel.design

Version History 7.3.6

#{version_history}

Description:

A graphQL client for making graphQL queries to a graphQL server -
similar to Postman but for GraphQL.

Web app: https://altair-gql.sirmuel.design/

There’s a chrome extension and a firefox add-on.

There are apps for mac, windows and linux users as well.

You can also install using cask:

$ brew cask install altair-graphql-client

For linux users, you can also install using snap:

$ snap install altair

Usage with express

You can use altair with an express server using
altair-express-middleware. Read more about how to use this here.

Usage with koa

You can use altair with a koa server using altair-koa-middleware. Read
more about how to use this here.


Features

Headers

You can add, edit and remove HTTP headers used in making the request.
This is particularly useful if you need to add things like
authentication token headers when making a request that requires
authorized access.

Variables

You can add GraphQL variables to your request. Variables make it easy to
use dynamic values in your queries.

Response Stats

You can easily know how long your query takes with the response stats
information displayed for each request you make.

Documentation (via introspection)

You can view the GraphQL schema in a nicely displayed manner with
information about the various kinds of queries, types, arguments
available to you and some description (where provided) of each of them.
This is powered by the introspection capabilities provided by GraphQL.
This needs to be enabled from the GraphQL server for it to be available.

Documentation search

You can also search for a particular item in the docs as well. Useful
for when you’re not sure where a particular field, type or query is in
the schema.

Syntax highlighting

The syntax of the query in the editor is highlighted for easier parsing.

Error highlighting

You also get errors in your query highlighted for you as you type out
your query.

Add queries and fragments from documentation

You can easily add a query (or fragment) you see in the documentation
into the editor without having to manually type every field within the
query. This makes it easier to test and develop with the available
queries from the GraphQL server.



Upload files via GraphQL

You can use binary files as variables to upload them via GraphQL to
server (if it implemented the GraphQL multipart request specification).

Autocompletion of fields, arguments, types, etc

You get an autocomplete list of valid terms you can use as you type out
your query in the editor.

Autofill all fields at cursor

You can insert all fields of the type at cursor using Ctrl+Shift+Enter.
You can change the autocompletion depth limit using a
'addQueryDepthLimit' option in the settings.

Schema auto refresh

Usually you would reload the docs everytime you make a change to your
schema on the server, but if your server supports the
X-GraphQL-Event-Stream header, it should be able to notify Altair to
reload the docs automatically.

Prettify Query

You can format the query in the editor in a properly indented manner for
easier reading. This makes it easy to work with queries you might copy
from one file to another, which might have lost their indentation (or
were never indented before).

Compress Query

You can compress the query to a minified form, removing any unnecessary
whitespace and comments. You can use this after you have made a query
and you want to use it in your client side application. This helps save
as many bytes as possible when making network requests.

History of recent queries

You can view a list of your recent queries that you make in each window,
so you can easily go back to a query you tried previously.

Multiple Windows

You are not limited to only one window at a time but you can have
multiple windows open to work with multiple different queries at the
same time. You can also name the various windows (by doubleclicking the
name) and arrange them however you like to make it easier to work with
them.

GraphQL Subscriptions (with desktop notifications)

You can test your GraphQL subscriptions without any worry. Just provide
the subscription URL and start the subscription, and you would get each
message as they are sent once you’re subscribed. You would also get a
notification when you are away from the app (desktop apps only). This is
very handy when developing apps that use the realtime feature of
GraphQL, like chatting ang gaming applications that need realtime
feedback. Currently, GraphQL subscriptions has been implemented by the
Apollo GraphQL team.

Import/Export Queries

You can export the query you are working on and import the .agq file
into another device (also supports drag and drop). This is also useful
for sharing queries with variables and headers with other members of
your team.

Multiple Languages

You can use Altair with several languages including English, Chinese,
French, Spanish, among others. Pull Requests for new languages are also
welcome.

Light and Dark themes

You can use Altair with either the light or the dark theme, depending on
which theme you like.

Missing feature?

Is there a feature that is missing? You can let us know by creating a
new issue or you can add the feature by creating a Pull Request.


Development server

Run yarn start for a dev server. Navigate to http://localhost:4200/. The
app will automatically reload if you change any of the source files.


Build

Run yarn build to build the project. The build artifacts will be stored
in the dist/ directory. Use the -prod flag for a production build.


Generate chrome extension files

Run yarn build-ext to build the chrome extension files. The extension
files will be stored in the chrome-extension/ directory.


Generate electron app

Run yarn build-electron to build the electron apps. The apps will be
stored in the electron-builds/ directory.


Updating docs

Run bundle exec jekyll serve.


Running tests

Run yarn test to execute the unit tests via Karma and the end-to-end
tests via Protractor.


Further help

To get more help on working with the project, check out the Angular CLI
README.


Deploying

- Make sure your local repo is up to date git pull
- Run tests locally ng test --single-run && ng lint && ng e2e
- Update extension version
./bin/update_version.sh
- Build extensions locally yarn build-ext
- Verify that extensions (chrome and firefox) are working properly
- Verify chrome extension
https://developer.chrome.com/extensions/getstarted#unpacked
- Verify firefox extension ./bin/run_ext_firefox.sh
- Create commit, push and update local repo
git add --all && git commit -am 'Upgraded to v' && git pull && git push
- Create an annotated release tag for the new version
./bin/create_tag.sh v
- Push new tag git push --tags
- Create release notes (Using https://www.npmjs.com/package/release)
release
- Wait till all the CI builds are completed, and the binaries have
been published in Github release
- Merge the staging branch to master
- Upload updated browser extensions
- C’est fini.

In the case of an error while deploying, delete the release tags locally
and remotely using ./bin/delete_tag.sh


Contributing

1. Fork it!
2. Create your feature branch: git checkout -b my-new-feature
3. Commit your changes: git commit -am 'Add some feature'
4. Push to the branch: git push origin my-new-feature
5. Submit a pull request :D
6. See anything that needs improving, create an issue.

Contributors

This project exists thanks to all the people who contribute.
.


Credits

This project was built using Angular, an awesome opensource project from
the folks at Google.

The desktop apps were built using electron, another awesome opensource
project from the folks at github.