Data Sources

What Is a Data Source?

At its core, a GrAMPS data source is simply an organizational structure to make GraphQL servers easier to build out of modular components.

By following the GrAMPS structure, data sources become more manageable, testable, and shareable. Different teams can own and maintain data sources that are all composed together and exposed through a single GraphQL gateway.

Developers can even get full GraphQL schemas for third-party services simply by installing that service’s data source.

Table of Contents

The Anatomy of a Data Source

Every GraphQL data source exports a GrAMPS object which defines the following properties:

Why Follow the GrAMPS Standard?

  • Consistency, maintainability, and simplicity: data sources follow a predictable, well-documented format.
  • Centralized data, distributed maintenance (one endpoint, many repos)
  • Reusability: plug together community GrAMPS data sources with your own to build complex applications faster