This sample demonstrates how to build a server-side rendered (SSR) e-commerce application using @coveo/headless-react/ssr-commerce with React Router.
- Server-side rendering (SSR) for improved SEO and performance
- Commerce search and listing capabilities powered by Coveo Headless
- React Router for client-side navigation
Run the development server:
npm run dev
This will start the development server with hot module replacement enabled.
First, build your app for production:
npm run buildThen run the app in production mode:
npm startNow you'll need to pick a host to deploy it to.