- nodejs LTS - https://nodejs.org/en/
-
yarn:
npm install --global yarn
-
yarn add react-toastify
-
yarn add buffer
-
yarn add react-icons
-
yarn add emoji-picker-react
-
yarn add uuid
-
nodemon:
npm install -g nodemon
-
express:
npm install express
-
react-scripts:
npm install react-scripts --save
in /chat-app/public
Edit the options.json file and insert Pandorabot API keys.
{
"url": "https://api.pandorabots.com",
"app_id": "**************",
"user_key": "*************",
"botname": "**************"
}
yarn start
in /chat-app/api
yarn start
in /chat-app/public
The chat bot application should now successfully open in a browser.