Skip to content

A demo application of PubNub ChatEngine, Vue.js, and AWS Cognitive.

Notifications You must be signed in to change notification settings

ajb413/chat-engine-vue

Repository files navigation

PubNub ChatEngine + Vue + Amazon Lex

Tutorial for Development on PubNub click here:

pubnub blog

Live demo:

https://ajb413.github.io/chatengine-vue-chatbot-1to1/

Featured:

  • Integrate ChatEngine
  • Build ChatEngine plugin for Vue
  • Architect and implement 1:1 chat
  • Display the user's ID in the UI so they can make 1:1 chats with other users
  • Add functionality for creating new chats
  • Secure the 1:1 chats with PAM
  • Implement the AWS Cognitive blocks from the catalog
  • Implement a ChatBot in the Demo using Amazon Lex
  • ChatEngine Typing Indicator plugin in 1:1 chats

To build your own you need PubNub Keys

Make a PubNub Account https://www.pubnub.com/register?devrel_gh=chat-engine-vue

Make a ChatEngine App in your PubNub Account https://www.pubnub.com/docs/tutorials/chatengine#step-one-pubnub-keys?devrel_gh=chat-engine-vue

Put keys in main.js

For a ChatBot, make an Amazon Lex ChatBot, and a PubNub Function On Request handler using pubnub-functions/lex-text-on-request.js and add the URL to main.js

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

pubnub blog

About

A demo application of PubNub ChatEngine, Vue.js, and AWS Cognitive.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published