Example React SPA using the Bloomreach React SDK. The app is created using create-react-app.
This example is part of a monorepo and other packages will have to be build in order for this example to run. Read more in the root README on how to install, build and run the examples.
In the project directory, you can run:
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
Builds the app for production to the build
folder. It correctly bundles React
in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes. Your app is ready to be deployed!
See the section about deployment for more information.
Runs the app in the production mode. This will start an express server to serve
the app from the build
folder. This requires the app to have been build first
by running pnpm run build
.