·¬ÇÑÉçÇø

CMS resources
Technology insights
Back to Technology insights

Introducing a new, GraphQL-focused code example library

image of GraphQL logo for GraphQL query article

If you’re a developer, you’re well aware of the importance of learning by example. As part of the effort of the Brightspot Developer Portal, we’ve put together a set of code examples that will help you better understand how to use Brightspot’s implementation of GraphQL.

These code examples tackle a number of GraphQL-related topics, showing you how to build sample apps that use JavaScript classes for the back end, and React for the front end.

A collection of code examples published as part of the new Brightspot Developer Portal.

These code examples run the gamut:

  • Generating a delivery API endpoint
  • Debugging CORS issues
  • Implementing theming via content delivery API endpoint
  • Rendering Marked Text and customizing its appearance and functionality
  • Creating introspection query rules
  • Many more

To see a full list of the code examples that are available, see the promo to the right.

Share
About the Author
Mark is Director, Digital Content at Brightspot. When he's not gleaning insights from various developers from the company, he spends his time cooking new dishes at home with his wife and two hyperactive cats.

Related resources

Brightspot's standard theme includes front-end templates for attractively rendering articles, videos, listicles, promos, and much more. Developers can build on those standard templates to deploy themes that range from simple to extravagant.
Customizing a theme is a big part of front-end development. To facilitate that development, Brightspot provides Styleguide, a webpack-based application that previews a theme with mock text and images. With Styleguide you can immediately evaluate any change by reloading the browser page.
A common task in web application development is deploying API endpoints that are managed by application admins—a situation that may introduce errors into a production environment. Brightspot’s native classes facilitate the deployment of robust and secure endpoints.
Streamlined processes for creating and managing API endpoints are essential, and the technical complexities associated with APIs can often pose challenges. Brightspot provides a proven, field-tested UI for intuitively designing API endpoints.
Brightspot’s Redirect Importer lets you quickly import bulk redirects, saving valuable time and reducing manual errors.
Brightspot gives editors even more flexibility than before by enabling them to create their own content types in just a few mouse clicks
Let us give you a demo
Hear how Brightspot can turn your digital strategy goals into a reality and see how the lives of your content creators and developers will be changed using our platform.


Request Demo