Setting up the HCL Commerce Developer React Store environment
HCL Commerce provides a standalone HCL Commerce Developer React Store environment. This environment uses the React Store Software Development Kit (SDK) with reference Single Page Application (SPA) Stores that are based on the Node.js react-app. The HCL Commerce Developer React Store environment is completely independent of the HCL Commerce Developer Legacy environment.
Note: If you are using an Aurora-based storefront, use the HCL Commerce Developer Legacy environment to develop your store.
The Store SDK provides the following features to help front end
developers to develop the React Store application UI.
- A standalone Store SDK environment that is based on Node.js react-app.
- A node web server to serve the store.
- A mock API server to simulate responses from back end REST APIs.
- A build for the internal node server (
npm install
). - A build for static files deployable to the store-web web server (
npm run build
). - Reference Store application that you can use to develop your own React Store applications.
Before you begin
-
Before installing HCL Commerce Developer software, ensure that your HCL Commerce development environment meets the hardware and software requirements.
- For software requirements, see Supported software levels, fixes, and settings for HCL Commerce.
- For hardware requirements, see Hardware requirements for HCL Commerce.
-
The Store SDK requires the following prerequisites before you can use it to develop your custom React Store application:
- Any operating system that supports a Node.js environment. For example, Windows, MacOS, Linux.
- Node.js and npm.
- Any web development IDE of your choice.
- Chrome, FireFox, or Safari browsers. You can also use Edge and IE with the required extensions.
- Git to manage the project.
Procedure
Results
What to do next
- Ensure that you check the code into your source control management system so that your work can be collaborated on and is safely persisted.
- You can now Publish the React-based store in your development environment.