Code Monkey home page Code Monkey logo

random_lunch's Introduction

random_lunch

お店を自動で選んでくれる Slack コマンド

アーキテクチャ

  • なんちゃってレイヤードアーキテクチャ
  • 簡素化のためにDI等は行わない
└── src                
   ├── functions      <-- controler相当
   ├── applications    
   ├── infra           
   │  └── repository    
   └── models         

Makefile

  • ビルド

    • make build
  • デプロイ用にパッケージ化

    • make package
  • デプロイ

    • make deploy
  • 実際に使用するときには、以下の箇所に実際のprofileを入れる

package:
	sam package --template-file template.yaml --output-template-file output-template.yaml --s3-bucket random-lunch --profile // 実際にはここに profile を書く

deploy:
	sam deploy --template-file output-template.yaml --stack-name random-lunch --capabilities CAPABILITY_IAM --profile // 実際にはここに profile を書く

Slack 上でのコマンドの扱い

  • お店を選んでもらう
    • /choose_lunch_shops
  • お店を新規に登録する
    • /create_lunch_shops お店の名前 url メモ(任意入力)
    • コマンド 、お店の名前 、url 、メモ それぞれの間は半角空文字で区切る
  • お店の一覧を取得する
    • /list_lunch_shops

random_lunch's People

Contributors

sekky0905 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

random_lunch's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.