Skip to content

thefirstspine/messaging

Repository files navigation

Messaging

Simple realtime messaging system. Contains an API to send message through sockets, where clients can subscribe. It's lighter than Apache Kafka because we have simple needs here.

Installation

npm ci

Running the app

npm run start

Build & run for production

npm run build
node dist/main.js

Configuration

See the configuration keys with the Ansible playbook

To help you configure your local environment to generate a dotenv file you can use the configurator using this command:

node configurator.js create messaging --conf-path [local copy of ansible volume]/conf --force-http true