There are two ways to run the xstate-chatbot:
- As a Frontend React App: The chat dialog flows could be tested locally by running the react-app. It is only for the initial purpose of testing the dialogs and does not represent how the bot will run on server. Further instructions to keep in mind while running as a react-app are present as a part of the README in the react-app directory.
- As as Backend Server: It closely represents how the chatbot is going to run on the server. It is a NodeJS server. Detailed instructions to setup the server are present in the README of nodejs directory.