Skip to content

cassiels636/chatbot-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chatbot Widget

A widget for talking to a chatbot (Chit Chatter). This includes a button that opens a chat box for interacting with a "bot". Currently the "bot" is limited to respond with 1 of 3 hard-coded responses.

How to Use

See the READMEs in the corresponding chatbot-widget-frontend and chatbot-widget-backend folders for details on how to run this app.

Frontend docs: chatbot-widget-frontend/README.md

Backend docs: chatbot-widget-backend/README.md

Demo

A recording of a short walkthrough/interaction with the chatbot. File may be too large and need to be downloaded in order to be viewed.

Demo

Design Details

Authentication

Login credentials are hardcoded into the frontend and the login API is called on page load in order to get a JWT access token. The bearer token is then set on all preceding API calls.

Chatbot Chat

As mentioned, the chatbot responds to sent messages with 1 of 3 hard-coded responses. After a message is sent and saved in the DB, the chatbot response is generated and the UI refetches the set of messages to show in the chat.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors