Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 569 Bytes

README.md

File metadata and controls

42 lines (28 loc) · 569 Bytes

React RC Billing Demo

Development

  • 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

E2E Tests

Install playwright

npx playwright install --with-deps

Headless

npm run test:e2e

With a UI

npm run test:e2e-ui