Warning
This repository is not longer maintained - go to https://github.com/saleor/examples for Saleor examples
- Node.js 20
- pnpm
First, set the following environmental variables:
SALEOR_API_URL=https://your-cloud-instance.eu.saleor.cloud/graphql/
NEXT_PUBLIC_APP_URL=http://localhost:3001
(make sure to replace your-cloud-instance.eu. with your cloud instance address)
Then, install the dependencies and start the server:
pnpm i
pnpm run devThe app will be available on http://localhost:3001
Important
For this example to work, you need to install and configure the Sequra App in Saleor Cloud.
Important
For this example to work, you must have a channel named eur in your Saleor Cloud instance.