Skip to content

cotts/chat-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat-bot Module

This is a BOT to get Stock Values



Requirements

  • Websocket
  • RabbitMQ

About

This Bot is a module that connect to Chat Bot API via websocket and store the results on a message broker and return the parsed message to a specific room via websocket.

After connect to websocket server, the BOT request for a room based on its command and after that, manage the requests through this room




How to use


1- Install dependencies

npm i
##or
yarn

2- Set environment keys

RABBITMQ_SERVER= # RabbitMQ Server Connection String
RABBITMQ_QUEUE=  # RabbitMQ Queue name
SOCKET_SERVER=   # Websocket server  (This Server must be allowed on Websocket CORS LIST)

3 - Run Service

3.1 - In Development Mode

npm run dev
#or
yarn dev

3.2 - In Production Mode

npm start
#or
yarn start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors