https://github.com/adobe-rnd/aem-commerce-prerender
Pluggable prerendering framework for ahead-of-time data fetching and embedding in Product Pages and more.
https://github.com/adobe-rnd/aem-commerce-prerender
adobe aem commerce helix helix5
Last synced: 4 months ago
JSON representation
Pluggable prerendering framework for ahead-of-time data fetching and embedding in Product Pages and more.
- Host: GitHub
- URL: https://github.com/adobe-rnd/aem-commerce-prerender
- Owner: adobe-rnd
- Created: 2025-01-06T10:55:42.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-06-25T10:42:14.000Z (4 months ago)
- Last Synced: 2025-06-25T10:49:48.238Z (4 months ago)
- Topics: adobe, aem, commerce, helix, helix5
- Language: JavaScript
- Homepage:
- Size: 657 KB
- Stars: 6
- Watchers: 11
- Forks: 8
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AEM Commerce Prerender
Pluggable prerendering stack for ahead-of-time data fetching and embedding in Product Pages and framework for definining rendering templates and rules.
* ⚡️ Boost SEO by pre-rendering human-readable product data in the markup
* 💉 Inject JSON-LD Structured data in the page source code
* 📈 Aggregate data sources and inject resulting data ahead-of-time
* ⚙️ Define your custom rendering logic
* 🧠 Offload intensive computation to the rendering phase## Getting started
Setup of prerequisites and Edge Delivery Services is guided and some steps are automated.
1. Go to [https://developer.adobe.com/console](https://developer.adobe.com/console) and choose "Create project from template"
1. Select "App Builder" and choose the environments (workspaces) according to your needs (we recommend Stage and Production as a starting point)
1. You can leave all the other fields as per default settings; don't forget to provide a descriptive project title.
1. After saving the newly created project, click on the workspace you want to deploy the prerendering stack to - use Stage to get started.
1. In the top-right click "Download All": this will download a JSON file that will be used in the setup process.
1. Then generate a repo with the relevant code in your org by clicking [here](https://github.com/new?template_name=aem-commerce-prerender&template_owner=adobe-rnd). You can now clone the resulting repo from your org, and run `npm i && npx setup`
1. Follow the steps to perform the initial setup
1. Customise the code that contains the rendering logic according to your requirements, for [structured data](/actions/pdp-renderer/ldJson.js), [markup](/actions/pdp-renderer/render.js) and [templates](https://github.com/adobe-rnd/aem-commerce-prerender/tree/main/actions/pdp-renderer/templates) - more info [here](/docs/CUSTOMIZE.md)
1. Deploy the solution with `aio app deploy`### What's next?
You might want to check out the [instructions and guidelines](/docs/POST-SETUP.md) around operation and maintenance of the solution## Considerations & Use Cases
Few considerations around advantages, use cases and prerequisites are available in the [dedicated page](/docs/USE-CASES.md)