A simple react app to demo the new react-hyper-js library
- Build the application
yarn install
- Provide valid Api key in server.js and Publishable key in App.jsx. You can create your keys using the Hyperswitch dashboard. https://app.hyperswitch.io/
//in server.js
const hyper = require("@juspay-tech/hyper-node")("api_key");
//in App.jsx
const hyperPromise = loadHyper("publishable_key");
- Run the application
yarn start