Skip to content

solidityteam/hyperswitch-next-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyperswitch React with TypeScript + 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 : React with TypeScript & NextJs

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 :

    • Create a .env file in the root directory.
    • Copy/paste the values in .env.sample and add you keys in the respectable area.
  2. Install the dependencies :

npm install
  1. Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 in your browser to see the result.

You can start editing the page by modifying src/app/page.tsx. The page auto-updates as you save the file.

About

A simple integration App with React, Next with TypeScript frontend and Node.js backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 72.3%
  • CSS 25.4%
  • JavaScript 2.3%