-
Install and build dependencies in the root
purchases-js
npm i
npm run build
-
Install dependencies for the rcbilling-demo app
npm i
-
Set the following env variables. You can set them in a
.env
file in the root of this demo app.
export VITE_RC_API_KEY = 'your public api key'
- Start the server
npm run dev
Install playwright
npx playwright install --with-deps
Headless
npm run test:e2e
With a UI
npm run test:e2e-ui