1. Support Center
  2. Locally Running the Web Demo App

How do I clone the web repo?

In this knowledge base article, we will guide you through the process of cloning the Cybrid Web SDK repository and configuring it to connect to the test customer on your sandbox bank.

Prerequisites

Before you begin, make sure you have the following prerequisites in place to ensure a smooth setup process:

  1. Node.js installed on your system, preferably version 16.14.2 or later. Node.js is a JavaScript runtime that allows you to execute JavaScript code on the server side.
  2. A terminal or command prompt with Git installed for running the commands. Git is a distributed version control system that enables you to manage and track changes in your project's source code.

Step 1: Clone the Repository

To kick off the setup process, open your terminal and navigate to the directory where you would like to store the cloned repository. Cloning the repository creates a local copy of the source code on your system, allowing you to work with it. Execute the following command to clone the cybrid-sdk-web repo:

git clone https://github.com/Cybrid-app/cybrid-sdk-web.git

After successfully cloning the repository, navigate to the project's root directory by executing the following command in your terminal:

cd cybrid-sdk-web

In the project's root directory, you'll find essential files and folders that constitute the Cybrid SDK Web demo. The next step is to install all necessary dependencies, which are third-party packages that the demo relies on to function correctly. Run the following command to install these dependencies:

npm install
Note: It's recommended that you're running Node@16.14.2 or later to successfully run the web demo application. This ensures compatibility with the latest features and improvements in the Cybrid SDK Web demo.


Once you've installed the dependencies, you're ready to configure the API keys and environment variables, as well as run the demo application. By following these steps, you'll have a functioning Cybrid SDK Web demo that you can use to explore and interact with the various features offered by the Cybrid platform.