How can I send backend Payload CMS data to frontend through Graphql API not REST API?

How can I send backend Payload CMS data to frontend through Graphql API not REST API?

In the backend- I’ve configured graphQl by this code in my payload.config.ts. graphQL: { schemaOutputFile: path.resolve(__dirname, ‘generated-schema.

 

Read More