Find random place for the lunch
Command | Text | Alias |
---|---|---|
/lunch | help | !help, h |
/lunch | random | !random, rng |
/lunch | zzTop | zz, zztop, zupa |
Api docs https://api.slack.com/slash-commands
POST
/commandPOST
/random
POST
/places-to-eatGET
/places-to-eatGET
/places-to-eat/:idPUT
/places-to-eat/:idDELETE
/places-to-eat/:id
Create config.json (follow by the config.example.json)
npm install
npm start
Run npm install
for building and npm start
for preview.
Do not commit your config.json file to any repo!
npm test
npm run tdd
npm run coverage
Running npm test
or npm run tdd
will run the unit tests with Mocha and Chai.
npm run coverage
will create coverage report.