nitishkr72 / hyperswitch-react-demo-app

A simple react app to demo the new react-hyper-js library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hyperswitch-react-demo-app

A simple react app to demo the new react-hyper-js library

Running the sample

  1. Build the application
yarn install
  1. 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");
  1. Run the application
yarn start
  1. Go to http://localhost:3000/checkout

About

A simple react app to demo the new react-hyper-js library

License:MIT License


Languages

Language:JavaScript 58.8%Language:CSS 30.6%Language:HTML 10.5%