/soporteremoto-tiers

System of remote access and registration of communities.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Soporte Remoto key handler

This service is in charge of checking that the service keys exist and subscribing the communities that use it to the LibreNet6 network. Displays an endpoint POST /submit that receives the parameters generated by the federated-server on the FBW

It also has four commands:

  • npm run key:list

  • npm run key:generate

  • npm run key:delete [KEY]

  • npm run key:resend [KEY]

Configuration

This app uses dotenv to load the configuration, which can also be set by environment variables.

Parameters used:

  • DB database name
  • PORT port where the server starts
  • LNET6_BOT_URL remote support bot url (in charge of adding the pubKey to librenet6)