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

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.
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.
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.
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.
As a technical leader, finding the right CMS for your organization will require flexibility, and that isn’t always easy for some platforms.
Brightspot CMS can easily and rapidly become the missing piece of the puzzle in your tech stack, built to be highly extensible in a way that can connect the dots and solve the very specific gaps that you have.
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