-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turn slack-bot-server into a reusable framework #3
Comments
I haven't had time to understand how this is put together yet, but this is just a note to describe my situation as an example use-case. I have an existing Rails app (with a Postgres db) that defines accounts (analogous to Slack teams) each of which has multiple users. Also a user can belong to multiple accounts (just like Slack itself). An account can store credentials for Slack in the form of an API Key for a bot and we currently use this to let my app post news to a team's Slack channel. It makes sense to me to have a separate server that listens for Slack messages, so I like the I'm willing to put some effort into making |
I think you're barking up the right tree :) maybe a good place to start is to add PostgreSQL support to this project, refactoring storage so it can be either mongodb or PostgreSQL. This will help you understand all the moving parts. |
See also: slack-ruby#3
Turn project into gem, a step forward to #3.
Closing this thanks to @tmsrjs work on the gem. I've renamed this project to Next steps is to make bots like slack-market or slack-amber-alert to use the gem, and continue absorbing functionality here and making new releases. |
We tell users to fork this project and build on top. There're probably a few things that can be done to turn this into a framework, maybe extract a set of gems.
The text was updated successfully, but these errors were encountered: