As an application is built in Gatsby, it collects information about pages, components, and their underlying data in order to perform server-side rendering. To facilitate this process for content contained within DXM, a runtime NPM Package is provided. The purpose of this package is:
- Read application configuration detail from a global environment file (e.g., Dynamic Content API endpoint and credentials, etc.);
- Making data models available to the Gatsby Application, which a developer can map against
- Dynamic Data - Processing data from the DXM Dynamic Content API, using the Search G2 Raw JSON endpoint.