Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maraisr/fgs
Fetch GraphQL Schema from a GraphQL HTTP Endpoint from grphql-config that is Relay (rust) aware.
https://github.com/maraisr/fgs
devtools graphql graphql-schema relay
Last synced: about 1 month ago
JSON representation
Fetch GraphQL Schema from a GraphQL HTTP Endpoint from grphql-config that is Relay (rust) aware.
- Host: GitHub
- URL: https://github.com/maraisr/fgs
- Owner: maraisr
- License: mit
- Created: 2021-04-26T02:07:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-09T07:13:53.000Z (over 1 year ago)
- Last Synced: 2024-09-27T21:40:59.283Z (about 1 month ago)
- Topics: devtools, graphql, graphql-schema, relay
- Language: TypeScript
- Homepage:
- Size: 109 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
- awesome-list - fgs - config that is Relay (rust) aware. | maraisr | 6 | (TypeScript)
README
# fgs
**F**etch **G**raphQL **S**chema fetches a remote GraphQL schema to a local file.
This is free to use software, but if you do like it, consisder supporting me ❤️
[![sponsor me](https://badgen.net/badge/icon/sponsor?icon=github&label&color=gray)](https://github.com/sponsors/maraisr)
[![buy me a coffee](https://badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee&label&color=gray)](https://www.buymeacoffee.com/marais)## 💡 Features
- graphql-config multi-project integration
- relay (rust) aware
- json/sdl output## ⚙️ Install
```sh
npm install fgs
```## 🚀 Usage
uses [graphql-config](https://graphql-config.com/) to find the schema endpoint
```sh
# fetch schema for endpoint `next`
$ fgs# fetch schema for endpoint `my-env`
$ fgs --endpoint my-env# fetch schema into sdl as json
$ fgs --json
```## License
MIT © [Marais Rossouw](https://marais.io)