Control Center
This setup is meant for development. If you want a quick trial of Hyperswitch (without contributing), use this guide.
Prerequisites
- Node.js and npm installed on your machine.
Installation Steps
Follow these simple steps to set up Hyperswitch on your local machine.
Clone the repository:
git clone https://github.com/juspay/hyperswitch-control-center.gitNavigate to the project directory:
cd hyperswitch-control-centerInstall project dependencies:
npm installStart the ReScript compiler:
npm run re:startIn 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=0Update 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.jsIn 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.