/serverless-slack-join

An automated way for your team members to sign-up for your Slack.

Primary LanguageJavaScriptMIT LicenseMIT

serverless-slack-join

An automated way for your team members to sign-up for your Slack.

Current Build Status: Code Climate

You can try it out with DPLY

Dply

Or you can follow the Manual Installation steps yourself. Either way, make sure you do the Setup Credentials and Deploy steps below.

Manual Installation

npm install -g serverless
  • Clone this repository
git clone https://github.com/ScriptGadget/serverless-slack-join
  • Change into that directory
cd serverless-slack-join
  • Run npm Install
npm install

Setup Credentials and Deploy

cp .envexample .env
  • edit .env to add your own slack
  • deploy
severless deploy
  • Note your shiny new endpoint and use it from a webform. For a simple example, see amarillo-tech-meetup

Contributing

If you have a fix, or a suggestion, please create a pull request.

Todo

This was a quick, weekend hack with a framework I didn't know, so there's probably a better way to do all of this. This at least has the virtue of simplicity.

  • Explore using the new AWS Environment Variables
  • Atone for my scandalous lack of test cases. I'd love to see some examples of good Serverless testing.

Credits