Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stepzen-dev/snippets
Snippets for securing, transforming, and optimizing GraphQL APIs.
https://github.com/stepzen-dev/snippets
graphql graphql-api graphql-schema graphql-schema-generator graphql-schema-language graphql-schemas graphql-server security stepzen
Last synced: about 1 month ago
JSON representation
Snippets for securing, transforming, and optimizing GraphQL APIs.
- Host: GitHub
- URL: https://github.com/stepzen-dev/snippets
- Owner: stepzen-dev
- License: mit
- Created: 2022-06-21T13:48:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-27T12:43:58.000Z (about 2 months ago)
- Last Synced: 2024-09-27T21:40:59.270Z (about 2 months ago)
- Topics: graphql, graphql-api, graphql-schema, graphql-schema-generator, graphql-schema-language, graphql-schemas, graphql-server, security, stepzen
- Language: JavaScript
- Homepage: https://stepzen.com/
- Size: 256 KB
- Stars: 20
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
StepZen Snippets
Welcome! StepZen is a unique and declarative way to build & run any-sized Graph in minutes.- [Explore the docs](https://stepzen.com/docs)
- [View Demo](https://stepzen.com/developers/videos/graph-of-graphs)
- [Report Bug](https://github.com/stepzen-dev/snippets/issues)
- [Request Snippet](https://github.com/stepzen-dev/snippets/issues)
- [Join our Discord Server](https://discord.com/invite/9k2VdPn2FR)
## About the project
Code snippets that demonstrate use of custom directives and other techniques in
IBM API Connect Essentials (StepZen).## Getting Started
Sign up for a free API Connect Essentials SaaS plan: https://www.ibm.com/account/reg/us-en/signup?formid=urx-52542
Read: [understanding API Connect Essentials (StepZen)](https://www.ibm.com/docs/en/api-connect/ace/saas?topic=understanding-api-connect-essentials)
[Install](https://www.ibm.com/docs/en/api-connect/ace/saas?topic=setting-up-your-environment#set-up-env__title__3) the StepZen command line interface.
Documentation: https://www.ibm.com/docs/en/api-connect/ace/saas
## Snippets
The snippets are generally broken up into functional areas, with each folder covering a specific topic:
### Custom Directives
- [@dbquery](dbquery/README.md) - Use `@dbquery` for connecting to databases, including pagination and filtering.
- [@materializer](materializer) - Use of `@materializer` to extend types by linking disparate backends into a single unified view.
- @rest - Connects to REST APIs
- [rest](rest/README.md) - Use of `@rest` for connecting to REST endpoints, including pagination.
- [transforms](transforms/README.md) - How to transform REST API responses to match GraphQL types with `@rest`.
- [@sequence](sequence/README.md) - Use of `@sequence` to resolve a field from multiple field resolutions, such as multiple backend calls.
- @sdl
- [executable](executable) - How GraphQL _executable documents_ can be registered and used with a schema or endpoint.
- @supplies
- [routing](routing)### General topics
- [pocs](pocs) - Techniques that can be used during development of proof of concepts with StepZen.
- [protection](protection/README.md) - How to protect or expose GraphQL endpoints including field based access rules.
- [reshape](reshape/README.md) - How to reshape GraphQL schema elements.
- [unions](unions/README.md) - Uses of the GraphQL `union` type.[contributors-shield]: https://img.shields.io/github/contributors/othneildrew/Best-README-Template.svg?style=for-the-badge
[contributors-url]: https://github.com/othneildrew/Best-README-Template/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/othneildrew/Best-README-Template.svg?style=for-the-badge
[forks-url]: https://github.com/othneildrew/Best-README-Template/network/members
[stars-shield]: https://img.shields.io/github/stars/othneildrew/Best-README-Template.svg?style=for-the-badge
[stars-url]: https://github.com/othneildrew/Best-README-Template/stargazers
[issues-shield]: https://img.shields.io/github/issues/othneildrew/Best-README-Template.svg?style=for-the-badge
[issues-url]: https://github.com/othneildrew/Best-README-Template/issues
[license-shield]: https://img.shields.io/github/license/othneildrew/Best-README-Template.svg?style=for-the-badge
[license-url]: https://github.com/othneildrew/Best-README-Template/blob/master/LICENSE.txt
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555
[linkedin-url]: https://linkedin.com/in/othneildrew
[product-screenshot]: images/screenshot.png