GithubHelp home page GithubHelp logo

daremonic / hyperswitch-react-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from juspay/hyperswitch-react-python

0.0 0.0 0.0 690 KB

A simple integration app with React frontend and Python backend

JavaScript 37.44% Python 12.36% CSS 37.36% HTML 12.83%

hyperswitch-react-python's Introduction

Hyperswitch React + Python Integration

Build a simple checkout web-app to collect payment details and make a test payment. Included are some basic build and run scripts you can use to run the demo application.

Introduction

This demo application uses the following tech-stack :

Frontend : React with JavaScript

Backend : Python

Prerequisites

Before running the demo app, please make sure to activate your Hyperswitch secret keys (API Key and Publishable Key) in your Hyperswitch Dashboard.

Don't have a Hyperswitch account? Sign up here!

Running the sample

  1. Add your keys :

    • Navigate to src/App.jsx and replace the placeholder HYPERSWITCH_PUBLISHABLE_KEY with your publishable key.
    • Navigate to ./server.py and replace the placeholder HYPERSWITCH_API_KEY with your API key.
  2. Install the dependencies / build the server :

npm install
pip install -r requirements.txt
  1. Run the server :
npm run start-server

Runs the backend server in the development mode.

  1. Run the client :
npm run start-client

Now, you can navigate to http://localhost:3000 to access the checkout page in your browser.

hyperswitch-react-python's People

Contributors

kritikmodi avatar sanchithhegde avatar prafulkoppalkar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.