Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/domeccleston/xmcloud-nextjs-template
https://github.com/domeccleston/xmcloud-nextjs-template
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/domeccleston/xmcloud-nextjs-template
- Owner: domeccleston
- License: apache-2.0
- Created: 2023-08-24T22:42:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-30T15:07:11.000Z (over 1 year ago)
- Last Synced: 2024-12-05T16:18:45.398Z (2 months ago)
- Language: TypeScript
- Homepage: https://xmcloud-nextjs-template-mu.vercel.app
- Size: 236 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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)