Skip to content

secretarium/connector-rest-relay

Repository files navigation

Node.js Secretarium Connector Relay Server

This repository contains a naive implementation of an Express application proxy for Secretarium enclaves.

We use Yarn

To start using this project first run:

yarn install

You will need to provide environment variable to define the connection endpoint and trust key. You can see available variable in the .env file

SECRETARIUM_GATEWAY_ADDRESS="wss://fqdn:port"
SECRETARIUM_GATEWAY_TRUST_KEY="key"

Feel free to create any .env.local file populated with your custom values and then to start the server in a development mode you can run the following:

dotenv -e .\.env.local yarn dev

The application can be built and served by running :

yarn build; yarn start

About

Example relay application for Secretarium Connector

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published