Implement slash commands in a Chatkit powered application. Tutorial: https://pusher.com/tutorials/slash-command-chatroom
- Clone this repository and
cd
into it. - Execute
npm install
to download dependencies. - See tutorial for notes on how to get the required credentials from Chatkit and newsapi.org
- Open
src/methods.js
and update it with your Chatkit instance locator, test token endpoint, room id, and news api key. - Run
npm start
to start the development server. View http://localhost:3000 in your browser.
- Node.js and npm