Chat App
This is a chat app using RabbitMQ, express and ws
Pre requirements
- Clone and Install the stock bot instructions here
- Node installed
- A web socket capable browser
- Have one RabbitMQ instance create and at least one queue
- bcrypt depends on
python 2.x
,node-gyp
. more details here - node-gyp wich depends on python, and some specifics to OS, more details here
Installation Instructions
- Clone this repository
- Open the terminal inside the recently cloned repository
- Create a .env file in the root project folder
npm install
npm run dev
- Run the bot install instructions and repository here
Environmental Variables
These are the following variables you must configure, USE THE SAME ENVIRONMENTAL RABBITMQ VARIABLES FOR THE BOT
PORT=3030
RABBITMQ_URL=amqp://rabbitmqurl
RABBITMQ_QUEUE=queue_name
RABBITMQ_STOCKBOT_QUEUE=stock_queue_name
JWT_SECRET=suPerBIff1cUlt5EcreT123456
SALT_ROUNDS=12
Usage Instructions
Open http://IP_ADDR:PORT/ and start chatting