Blog

GraphQL

GraphQL APIs: Great for Adoption, But Are They Secure?

GraphQL APIs: Great for Adoption, But Are They Secure?

GraphQL APIs are excellent for frontend developers, providing acceleration for application development and an improved developer experience. However, new challenges for the security of these APIs arise. Here we explore finding the right balance for GraphQL API technology on a continuum between safety and progress.

Why GraphQL Is Perfect as Data Layer for Microservices

Why GraphQL Is Perfect as Data Layer for Microservices

GraphQL and microservices architectures are perfectly compatible. You can use GraphQL as a data layer and combine data from all these services into one universal API. And StepZen can be used as this API data layer.

What Does It Mean For GraphQL To Be A Runtime, Anyway?

What Does It Mean For GraphQL To Be A Runtime, Anyway?

Learn what it means for GraphQL to be a runtime under the hood.

Creating Static Documentation For GraphQL APIs Using GraphQL SDL

Creating Static Documentation For GraphQL APIs Using GraphQL SDL

Documentation is important to make your API understandable to your users. Writing documentation for GraphQL APIs is a bit different, as you'll learn in this article.

How (Not) To Build Your Own GraphQL Server

How (Not) To Build Your Own GraphQL Server

There are many different flavors in creating the perfect GraphQL server, ranging from SDL-first to code-first or even generated solutions. This article explores different approaches and a solution to create a GraphQL API without writing any code.

The State of Introspection for REST and GraphQL APIs

The State of Introspection for REST and GraphQL APIs

You can always read docs; make SQL, cURL, or GraphQL calls; and learn the backend capabilities by trying them. Why bother about introspection? It is the way for a program to build something extraordinary on top of it. It could be Swagger docs, GraphiQL, a database optimization program, a change management tool, or another programmatic approach.

Categorizing GraphQL Directives into Schema or Query Type

Categorizing GraphQL Directives into Schema or Query Type

Our guest blogger Leo is back to explore a hot topic around GraphQL directives. Looking at how directives are cateorized as query-type or schema-type and how important their functionalities are. So let's discuss the pros and cons and query-type directives that modify return values.

Mixing Data from Storyblok CMS using StepZen's Custom @graphql and @rest Directives

Mixing Data from Storyblok CMS using StepZen's Custom @graphql and @rest Directives

Sometimes we need to mix and match data from CMSs and other data sources. With StepZen, you can easily mix data from an external CMS with your own project by incorporating StepZen’s custom directives.

StepZen Stickers: The Code Behind the Fun

StepZen Stickers: The Code Behind the Fun

You can send a GraphQL query on stepzen.com/stickers and receive awesome swag-- learn how we built the page!

Bridging GraphQL Queries Between Relay and non-Relay Schemas

Bridging GraphQL Queries Between Relay and non-Relay Schemas

In this post, we learn how to allow an application to use two different GraphQL servers in a similar fashion. We adapt an application based on WPGraphQL to also work with the plugin GraphQL API for WordPress. This task involves adapting all field names and parameters in the GraphQL queries, converting from WPGrapQL's to the GraphQL API for WP's schema.

Hacktoberfest 2021: Announcing StepZen's Goals

Hacktoberfest 2021: Announcing StepZen's Goals

Learn about the GitHub repositories we've opened up to Hacktoberfest 2021 contributions.

How to Connect A GraphQL API and A MySQL Database in Your GraphQL Layer

How to Connect A GraphQL API and A MySQL Database in Your GraphQL Layer

Learn how to add a GraphQL API and a MySQL database to your StepZen data layer.

Turn Any Data Source into GraphQL With StepZen: A Learn With Jason Episode

Turn Any Data Source into GraphQL With StepZen: A Learn With Jason Episode

In a recent episode of "Learn With Jason", StepZen's Carlos Eberhardt and Netlify's Jason Lengstorf discussed the pros and cons of GraphQL for developers, and showed us how StepZen works to easily let you build a GraphQL API on a number of data sources!

Hacking GraphiQL to Invoke it From the Outside

Hacking GraphiQL to Invoke it From the Outside

GraphiQL provides an editor to compose GraphQL queries, and a way to visualize the response, and browse the schema. In this article, Leonardo Losoviz explores some clever ways to modify the content inside the GraphiQL editor via JavaScript, allowing website visitors to execute a different GraphQL query by clicking an HTML button.

Why Backend Developers Should Fall in Love with GraphQL too

Why Backend Developers Should Fall in Love with GraphQL too

As the backend developer or API provider, you do not want just to build out APIs, you want to build out APIs that are intuitive and easy to explore, test drive and learn. Here we argue that GraphQL is the right solution, not just for the frontend developer, but for the people whose jobs are to corral and carefully expose backends.

Refreshing OAuth 2.0 Access Tokens Using StepZen's Custom GraphQL Directive @sequence

Refreshing OAuth 2.0 Access Tokens Using StepZen's Custom GraphQL Directive @sequence

The expiration of access tokens is a security feature of the OAuth Authorization process. Using a custom GraphQL directive, StepZen lets developers continously keeping these tokens secure and up to date.

Accessing SQL and NoSQL Databases with a GraphQL API

Accessing SQL and NoSQL Databases with a GraphQL API

To speed app development, the divide between the frontend and the backend must be bridged. Databases providing GraphQL interfaces will bridge a part of the divide. But a middleware that speaks GraphQL on the top and native languages on the bottom will round out the solution.

Manipulating Data in GraphQL Part 2 - Using StepZen

Manipulating Data in GraphQL Part 2 - Using StepZen

How to build a GraphQL API that uses StepZen's custom rest, dbquery and sequence directives to complete a complex sequence of queries within in a single GraphQL query request.

Manipulating Data in GraphQL Part 1 - Dynamic Variables

Manipulating Data in GraphQL Part 1 - Dynamic Variables

Using the export directive to pass dynamic data from one query to the next and manipulate it in order to complete a complex sequence of requests via a single GraphQL query.

Build a Mobile Login with React Native, Google Sign-In & FaunaDB

Build a Mobile Login with React Native, Google Sign-In & FaunaDB

Create a Login UI/UX experience with the Google Sign-In API on a React Native mobile app. Once a user successfully logs in, we are writing a mutation in StepZen to pass the login credentials to FaunaDB.

Bridging the Gap Between GraphQL and Databases

Bridging the Gap Between GraphQL and Databases

While databases are still a critical part of the application stack, there is a gap between the way data is provided and the way frontend applications want to consume it. GraphQL can bridge that gap by being a middle layer between the frontend and the backend.

Leverage Your REST Ecosystem With GraphQL

Leverage Your REST Ecosystem With GraphQL

Implementing GraphQL doesn't mean abandoning your REST ecosystem-- far from it! Learn how adding a GraphQL layer capitalizes on the power of REST.

Unconventional Ways of Using GraphQL

Unconventional Ways of Using GraphQL

GraphQL is flexible enough to allow for some creative solutions. In this article, Leonardo Losoviz explores some out-of-the-box ways to use GraphQL for resource based endpoints, schema stitching and manipulating content.

Execute Multiple Sequential GraphQL Queries with the @sequence Directive

Execute Multiple Sequential GraphQL Queries with the @sequence Directive

StepZen's custom sequence directive allows for multiple queries to be executed in a sequence, one after the other to return a single result. In this example we will see how to use the sequence directive to query three APIs.

Connect A GraphQL API to Your StepZen Data Layer

Connect A GraphQL API to Your StepZen Data Layer

Learn how to add any GraphQL API to your StepZen data layer, by autogenerating your GraphQL schemas and deploying them to your StepZen endpoint.

Tips for Creating a GraphQL Schema for an Existing Application

Tips for Creating a GraphQL Schema for an Existing Application

Tips for mapping an existing application's data model into a GraphQL schema, using WordPress as an example.

How To Layer a GraphQL API on a MySQL Database With a Single Command

How To Layer a GraphQL API on a MySQL Database With a Single Command

Learn how to layer a GraphQL API, accessible via a StepZen endpoint, on your MySQL database.

Decoupling Frontends and Backends with GraphQL

Decoupling Frontends and Backends with GraphQL

GraphQL allows frontend developers to interact using their concepts and for the GraphQL layer to mediate with the backend implementations. GraphQL as the frontend API, as well as a few other constructs — interfaces, routing, and declarative specifications — give developers the tools to leverage the powerful backend-for-frontend pattern for decoupling.

Exploring Promising New Feature Proposals for the GraphQL Spec

Exploring Promising New Feature Proposals for the GraphQL Spec

There are some very promising proposals to improve the GraphQL spec under consideration. Leonardo Losoviz takes a deeper look at five of the most promising ones and what they'd mean for the future of GraphQL.

How To Use Fragments To Clean Up Your GraphQL Schemas

How To Use Fragments To Clean Up Your GraphQL Schemas

Here, we show you how to use fragments to clean up repeated code in your GraphQL schema.

What Are Scalar Types in GraphQL?

What Are Scalar Types in GraphQL?

Learn what scalar types are in GraphQL and what custom GraphQL scalar types StepZen provides to you.

StepZen and Eve Porcello: A Conversation About GraphQL

StepZen and Eve Porcello: A Conversation About GraphQL

An interview with Eve Porcello, who shares her view on the state of GraphQL and the JAMstack.

Improving the Development Experience with GraphQL

Improving the Development Experience with GraphQL

One of GraphQL's key benefits over REST is the ways that improves the developer experience. This post explores the key benefits GraphQL offers over REST in terms of developer experience.

How To Generate QR Codes with GraphQL Mutations Using Google Sheets

How To Generate QR Codes with GraphQL Mutations Using Google Sheets

Learn how to use StepZen and GraphQL mutations to generate QR Codes with Google Sheets.

Exploring GraphQL Directives in the Wild

Exploring GraphQL Directives in the Wild

GraphQL directives are one of GraphQL's most powerful features, enabling custom capabilities that are not yet supported by the GraphQL spec, and offering a glimpse of what GraphQL may look like in the future.

Make A React App With a GraphQL API in One Command

Make A React App With a GraphQL API in One Command

Make a React app with a GraphQL API in a single command using npx-create-stepzen-app

How Different Are REST and GraphQL After All?

How Different Are REST and GraphQL After All?

The usual debate is REST versus GraphQL, but are the two really that different after all? Let's look at the similarities and differences to understand which is best for your project.

7 Key Considerations for Building & Running Your Frontend APIs

7 Key Considerations for Building & Running Your Frontend APIs

Frontend developers are asked to build engaging online experiences. They need data from the backends. They must perform actions against backends. GraphQL APIs are fast becoming the language of modern app development. But who builds those APIs? Are they built quickly or are frontend developers left waiting? Who runs and manages the APIs?

How to Set Up a GraphQL Endpoint on a Database

How to Set Up a GraphQL Endpoint on a Database

To build today's web apps, you likely need data from a database. At the same time, GraphQL is playing an increasingly important role in modernizing data access to accelerate web development. See how your GraphQL view of your data can match the implementation - a set of database tables and joins.

A Visual Guide to GraphiQL and GraphQL Voyager

A Visual Guide to GraphiQL and GraphQL Voyager

Walk through how to use two popular GraphQL clients, GraphiQL and GraphQL Voyager, via screenshots to explore their features and usage.

What You Need to Know About GraphQL Directives

What You Need to Know About GraphQL Directives

GraphQL directives are a powerful aspect of the GraphQL spec that you may not even be aware of. They provide extensibility to to a GraphQL API. This post looks at what GraphQL directives are, how they are used and some examples of directives in use.

GraphQL Hackathon: It's a Wrap

GraphQL Hackathon: It's a Wrap

Along with the mintbean.io team, we wrapped a GraphQL:Learn 'n Hack Hackathon last week. Developers had a blast building with GraphQL and we loved working with everybody. Here are some of the projects that developers built.

How to Build a GraphQL API Connected to A MySQL Database Using StepZen

How to Build a GraphQL API Connected to A MySQL Database Using StepZen

Here, we give you an in-depth look at how you can easily use StepZen to connect your MySQL database to a GraphQL API.

Turning a REST API into GraphQL Using StepZen

Turning a REST API into GraphQL Using StepZen

A step-by-step guide demonstrating how to build a GraphQL API that pulls from multiple REST endpoints using StepZen.

Realizing the Potential of the API in Jamstack

Realizing the Potential of the API in Jamstack

APIs are a powerful way to fetch and combine data during static and dynamic builds. We believe that the potential of APIs in Jamstack applications is fully realized when APIs are easy to build and run and help developers seamlessly harmonize multiple data sources.

How to use Apollo Client to Connect a React Frontend to a GraphQL API

How to use Apollo Client to Connect a React Frontend to a GraphQL API

How to build a React frontend from scratch and query a GraphQL API with Apollo Client

Key Considerations for Hosting Your GraphQL API

Key Considerations for Hosting Your GraphQL API

What does a developer need to think through when deciding whether to build, own, and operate a GraphQL API service?

Learn To Love Your Jamstack BFF

Learn To Love Your Jamstack BFF

Let's explore the BFF pattern, how it applies to Jamstack applications and how to make it easier to implement.

Exploring JavaScript Client Libraries for GraphQL

Exploring JavaScript Client Libraries for GraphQL

Exploring three popular GraphQL JavaScript client libraries that you can use to connect to a GraphQL API in the browser or in Node.js.

How to Connect Your GraphQL API with any REST Backend

How to Connect Your GraphQL API with any REST Backend

We've added new capabilities that make it easy to connect your GraphQL endpoint with any REST data source, using the @rest directive.

GraphQL and the Jamstack

GraphQL and the Jamstack

A look at the intertwined evolution of the Jamstack and GraphQL and how popular Jamstack tools are built upon a GraphQL foundation.

Building Your First GraphQL API Using StepZen

Building Your First GraphQL API Using StepZen

A step-by-step guide to building a custom GraphQL API using StepZen that connects to a real MySQL backend.

Consuming GraphQL in Plain JavaScript

Consuming GraphQL in Plain JavaScript

A GraphQL query is just a standard HTTP request, no special libraries needed. Let's look at how to create one in JavaScript and Node.js.

An Instant GraphQL API Using Google Sheets

An Instant GraphQL API Using Google Sheets

Wouldn't it be great if it were as easy to create a GraphQL API from a Google Sheet as it is to share a Google Sheet with someone?

How to Write GraphQL Queries

How to Write GraphQL Queries

GraphQL queries are what allow GraphQL to be efficient in how it gets data, by allowing you to express only what you need but also exactly everything you need. In this post, we'll see how.

Why GraphQL?

Why GraphQL?

GraphQL is a relatively new technology but it offers enormous benefits over the traditional RESTful solutions for frontend and backend developers.

This site uses cookies: By using this website, you consent to our use of cookies in accordance with our Website Terms of Use and Cookie Policy.