Create a new file under config
called dev.json
with the following:
{
"clientId": "<The clientId from the Slack App>",
"clientSecret": "<The clientSecret from the Slack App>"
}
NOTE: The file must be named dev.json
. Also, do not commit it to git. It should be ignored automatically if it was named correctly.
$ npm install
$ npm start
Make an HTTP POST to http://localhost:8080/episode with Content-Type
x-www-form-urlencoded
and a text=<episode number>
paramater.