Google Functions for Producer Chat
firebase functions:config:set slack.key="a9IboJLx1WcMIDiazPcpTizn" slack.id="397383219366.395984546068" slack.access_token="xoxp-397383219366-396043467059-395985380612-ade3572d730795df75cd83e04b17406f" slack.bot_access_token="xoxb-397383219366-395985384388-5n3T12ArBrwtgwyR06zCzLHB" firebase deploy --only functions
- run in functions directory
- get config:
firebase functions:config:get > .runtimeconfig.json
- npm run lint
- npm run build
- firebase serve --only functions
- ngrok http 5000
- set request urls to ngrok urls : https://22e60853.ngrok.io/producer-chat/us-central1/message_action