Skip to content

JSWesterfield/Slack-Slash-HTTP-Service-using-MongoDB-Atlas-NodeJS-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Slack Slash HTTP Service using MongoDB Atlas and NodeJS

MongoDB Stitch Slack App Flow Example

Slack is not only the fastest growing startup in history, it’s app by the same name is one of those popular communication tools in use today. We use it extensively at MongoDB to foster efficient communications between teams and across the company. We’re not alone. It seems like every developer I encounter uses it in their company as well.

One incredibly cool thing about Slack (and there are many) is its extensibility. Writing a slash command, or a standalone bot app is incredibly easy but when you combine the power of MongoDB, and specifically MongoDB Stitch’s backend as a service, the combination enables you to build an incredibly powerful chatbot in minutes. Let’s create a Slack App that stores and retrieves interesting URLs. We’ll call this app URL Stash.

In this repository, we'll provide the source code for a MongoDB Stitch service function that handles integration with a MongoDB Database from a Slack slash command. For this simple example, we'll accept URLs from a slash command and store them in a MongoDB Database using a MongoDB Stitch service.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

Give examples

Installing

A step by step series of examples that tell you how to get a development env running

Say what the step will be

Give the example

And repeat

until finished

End with an example of getting some data out of the system or using it for a little demo

Deployment

Add additional notes about how to deploy this on a live system

Built With

  • MongoDB-Atlas - Global cloud database service for deploying fully managed modern applications with MongoDB across AWS, Azure, or GCP.
  • Stitch - A serverless platform that enables developers to quickly build applications without having to set up server infrastructure.
  • NodeJs - A JavaScript runtime built on Chrome's V8 JavaScript engine

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

  • Jacob Westerfield - Total Work - Discovery 🌎 See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

About

🧺 Slash HTTP Service using MongoDB Atlas | NodeJS | MongoDB Atlas Stitch | Slack |

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published