PrivMX Bridge Panel is an application used to manage PrivMX Bridge.
- Node.js in 20.10 version;
- server that will serve static files;
- PrivMX Bridge Instance.
First, clone this repository. It includes the PrivMX Bridge Panel sources along with various helpful files.
Go to Bridge CLI repo to find scripts to create and initialize PrivMX Bridge on your local machine.
To build or develop the app, you need Node.js preferably in version 20.10 or higher.
Create .env.local file in the root of your project and paste the content of .env.example.
This is an example .env.local file:
VITE_PRIVMX_BRIDGE_URL=http://localhost:9111
VITE_LOG_LEVEL=logIn a new terminal, go to the project's root folder.
npm install
npm run buildDuring development you can run npm run preview to ensure everything works. For production: configure a server of your choice to serve static files from dist/ directory.
In a new terminal, go to the project's root folder and use:
npm install
npm run devCheck your app at http://localhost:3000/panel.
If you want to build a panel for PrivMX Bridge working at the same domain, use .env.local with the content below
VITE_PRIVMX_BRIDGE_URL=/
VITE_LOG_LEVEL=error