Skip to content

pmuradian/Garcon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Garçon

Garçon

What is it about ?

Garçon is a slack bot designed for recommending restaurants and order lunches for you from buy.am delivery service.

Capabilities

Garçon should be able to

  • present available restaurants listed in buy.am
  • fetch available dishes for a selected restaurant
  • order selected dish/dishes
  • send corresponding invocies to your teammates who placed orders

How to build Garçon

You need SLACK_BOT_TOKEN, SLACK_APP_TOKEN and SLACK_SIGNING_SECRET tokens (they are confidential, most probably you should create your own app for Slack and generate them)

  1. Create and add above mentioned tokens to .env file like so

SLACK_SIGNING_SECRET=<YOUR_SLACK_SIGNING_SECRET>

SLACK_BOT_TOKEN=<YOUR_SLACK_BOT_TOKEN>

SLACK_APP_TOKEN=<YOUR_SLACK_APP_TOKEN>

  1. Run npm install to install dependencies

  2. And then run npm run start

That's it, Garçon is up and running, you can start chatting with him right away

Implementation details

  • Language: Typescript
  • Tests: yes please, we are using JEST
  • Issues, bugs and features: we will use github issues for this
  • Workflow: create pull requests for your changes and they will be reviewed (eventually)

Contribution

Your contribution is welcomed and highly appreciated

About

slack bot for buy.am

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published