Skip to content

aashu331998/hyperswitch-react-demo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Accept a payment examples in React for Payment Element

How to run locally

This is the React client for the sample and runs independently of the server. Running a backend server is a requirement and a dependency for this React front-end to work. See the README in the root of the project for more details.

To run the React client locally:

  1. Install dependencies

From this directory run:

npm install
  1. Start the react app
npm start

This will start the react server running on localhost:4242. Note that the backend server runs on localhost:5252, but the React UI will be available at localhost:4242. API requests to your backend are proxied by the create-react-app server using the proxy setting in ./package.json.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published