Skip to content

Budmore/node-lunch-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lunch Finder Build Status

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

Endpoints

Lunch Finder (ready for the "slash" commands)

  • POST /command
  • POST /random

Places

  • POST /places-to-eat
  • GET /places-to-eat
  • GET /places-to-eat/:id
  • PUT /places-to-eat/:id
  • DELETE /places-to-eat/:id

Build & development

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!

Testing

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.

About

Find a place to eat a lunch.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published