A project template that includes an isomorphic JavaScript storefront and Progressive Web App built using React and Express. It uses a modern headless architecture that enables developers to decouple front-end code from back-end systems. It leverages popular open-source libraries in the React ecosystem, such as Chakra UI components, Emotion (CSS-in-JS), Webpack, and many more.
Developers don’t have to worry about the underlying infrastructure, whether they’re developing their app locally, deploying it to a Managed Runtime environment, or testing the app live.
- Node 16.11 or later
- npm 8 or later
To start your web server for local development, run the following command in your project directory:
npm start
Now that the development server is running, you can open a browser and preview your commerce app:
- Go to http://localhost:3000/
See the Localization README.md for important setup instructions for localization.
The Retail React App's configuration files are located in the app/config
folder. For more details, see Configuration Files in the documentation.
The full documentation for PWA Kit and Managed Runtime is hosted on the Salesforce Developers portal.