Skip to content

A simple integration app with HTML JavaScript and Node.js backend

Notifications You must be signed in to change notification settings

juspay/hyperswitch-html-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hyperswitch HTML + Node 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 : HTML + CSS with JavaScript

Backend : Node

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 public/script.js and replace the placeholder HYPERSWITCH_PUBLISHABLE_KEY with your publishable key.
    • Navigate to server.js and replace the placeholder HYPERSWITCH_API_KEY with your API key.
  2. Install the dependencies / build the server :

npm install
  1. Run the server :
npm run start
  1. The sample app will now be accessible here : http://localhost:4242/index.html.

About

A simple integration app with HTML JavaScript and Node.js backend

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 49.1%
  • JavaScript 31.6%
  • HTML 19.3%