Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/domeccleston/xmcloud-nextjs-template


https://github.com/domeccleston/xmcloud-nextjs-template

Last synced: 2 days ago
JSON representation

Awesome Lists containing this project

README

        

# Sitecore JSS Next.js Starter Template

This starter template is built using the Sitecore JavaScript Rendering SDK (JSS) for Next.js and includes example components and configuration for headless SXA (Sitecore Experience Accelerator). For more information on creating and deploying a headless SXA project to XM Cloud please refer to official [Sitecore documentation](https://doc.sitecore.com/xmc/en/developers/xm-cloud/create-an-xm-cloud-project-from-a-starter-template-in-the-xm-cloud-deploy-app.html).

## Deploy to Vercel

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fah100101%2Fxmcloud-nextjs-template&env=JSS_APP_NAME,SITECORE_API_KEY,SITECORE_API_HOST,GRAPH_QL_ENDPOINT,FETCH_WITH&envDescription=These%20variables%20must%20match%20the%20associated%20site%20settings%20in%20XM%20Cloud&project-name=xmcloud-nextjs-template&repository-name=xmcloud-nextjs-template)

This template requires the following environment variables:

- `GRAPH_QL_ENDPOINT`: The GraphQL Edge endpoint. This is required for Sitecore Experience Edge.
- `SITECORE_API_KEY`: The Sitecore API key is required to build the app.
- `JSS_APP_NAME`: The name of the JSS app that is configured in XM Cloud.

## Sitecore Documentation

[Deploying to Vercel](https://doc.sitecore.com/xmc/en/developers/xm-cloud/walkthrough--deploying-your-front-end-application-to-vercel.html)

[Documentation (Experience Platform)](https://doc.sitecore.com/xp/en/developers/hd/210/sitecore-headless-development/sitecore-javascript-rendering-sdk--jss--for-next-js.html)

[Documentation (XM Cloud)](https://doc.sitecore.com/xmc/en/developers/xm-cloud/sitecore-javascript-rendering-sdk--jss--for-next-js.html)

[Documentation (Create an XM Cloud project from a starter template)](https://doc.sitecore.com/xmc/en/developers/xm-cloud/create-an-xm-cloud-project-from-a-starter-template-in-the-xm-cloud-deploy-app.html)