Loopback API for communication between SciChat and Catamel.
git clone https://github.com/SciCatProject/scichat-loopback.gitnpm install- Add .env file to project root folder. See Environment Variables.
npm start
npm run test
Valid environment variables for the .env file.
PORT[number] The port that this service should be exposed on. Defaults to3000if value is not set.
RABBITMQ_ENABLED[string] Toggles RabbitMQ consumer. Valid values are"yes"and"no". Defaults to"no".RABBITMQ_HOST[string] The hostname/URL of your RabbitMQ. Defaults to"localhost".RABBITMQ_USER[string] Username of the RabbitMQ user.RABBITMQ_PASSWORD[string] Password of the RabbitMQ user.DEFAULT_PASSWORD[string] The default password for new SciChat users created from the RabbitMQ message queue
SYNAPSE_SERVER_NAME[string] The name of of your Synapse server.SYNAPSE_SERVER_HOST[string] The hostname/URL of your Synapse server.SYNAPSE_BOT_NAME[string] The username of the account used for authenticating to your Synapse server.SYNAPSE_BOT_PASSWORD[string] The password of the account used for authenticating to your Synapse server.