Bhanditz / altair

The only graphQL client editor you will need - Postman for GraphQL.

Home Page:https://altair.sirmuel.design/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Build status Chrome Web Store Chrome Web Store Chrome Web Store Mozilla Add-on Gitter GitHub release FOSSA Status

Maintenance

altair logo

set url add fragment

Altair GraphQL Client

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

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

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

Development server

Run npm 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 npm run 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 npm run build-ext to build the chrome extension files. The extension files will be stored in the chrome-extension/ directory.

Generate electron app

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

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

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
  • 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
  • Update extension version ./bin/update_version.sh <version_number e.g. 1.6.1>
  • Create commit, push and update local repo git add --all && git commit -am "Upgraded to v<version_number>" && git pull && git push
  • Create release tag for the new version git tag v<version_number>
  • 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 git tag --delete <tag> && git push --delete origin <tag>

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.

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.

In case I missed out any other projects, do let me know :)

License

FOSSA Status

About

The only graphQL client editor you will need - Postman for GraphQL.

https://altair.sirmuel.design/

License:MIT License


Languages

Language:TypeScript 64.8%Language:HTML 14.5%Language:CSS 13.6%Language:JavaScript 6.1%Language:Shell 1.1%