For the complete documentation index, see llms.txt. This page is also available as Markdown.

Control Center

Set up the Hyperswitch Control Center locally to manage payments and configure routing rules

Prerequisites

  1. Node.js and npm installed on your machine.

Installation Steps

Follow these simple steps to set up Hyperswitch on your local machine.

  1. Clone the repository:

    git clone https://github.com/juspay/hyperswitch-control-center.git
  2. Navigate to the project directory:

     cd hyperswitch-control-center
  3. Install project dependencies:

    npm install
  4. Start the ReScript compiler:

    npm run re:start
  5. In another terminal window, start the backend server, and SDK:

    git clone --depth 1 --branch latest https://github.com/juspay/hyperswitch
    cd hyperswitch
    docker compose up -d --scale hyperswitch-control-center=0
  6. Update the config.toml file

    api_url = your-backend-url #e.g: http://localhost:8080
    sdk_url = your-sdk-url  #e.g: http://localhost:9050/HyperLoader.js
  7. In another terminal window, start the development server:

    npm run start

Accessing the Application

Once the containers are up and running, you can access the application by navigating to http://localhost:9000 in your web browser.

Last updated

Was this helpful?