Submission Digital Ocean App Platform Hackathon- Slack App
Tags: dohackathon, node, javascript, showdev
Published: 2021-01-05 21:38:50

## What I built

A slack app which will help users to exchange sensitive slack messages in the form of QR Code. The QR Code will last for 30 secs and will be deleted post the timelimit.

### Category Submission: 
Built for Business

### App Link

https://thegroovy.tech/


### How to use the App? (Description and Screenshots)
* Visit the above mentioned link and click on **Add to Slack** button to authorise user.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/qe2sszfm876upga01v3t.png)

* Once authorised you will be redirected to grant permissions page to allow the app to access your workspace.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/5aa9xk41jpokgfobhzvi.png)

* Once approved you'll get a success message saying that the App is added to your workspace.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/v53xmq1yv7j33nt5ge9z.png)

* Now you have the app added in your workspace. Enter the command `/secure-share` in your message editor. A dialog box will be prompted asking for your **message** and a dropdown to select the user/channel.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/k6e9opf0idnb9ljwpl07.png)

_**Note- To use the app in the channel you first need to add the app to the channel**_

* Once the sender submit the details the recipient will get the QR code link from where he can access the file. This file link can only be accessed by the receiver.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/mikwbexjws74sw2pfpr6.png)

* After 30 secs the user will get the message that file is deleted and cannot be accessed!💥 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/g9ag3m206th6ihqrrhd6.png).

### Link to Source Code

{% github Jasmin2895/secure-share %}

### Permissive License

[MIT](https://choosealicense.com/licenses/mit/) chosen

## Background
There are often times when we shared some message over slack which might contain some crucial information and can be misused. In such cases we need to make sure that the message is deleted or be careful of not sharing sensitive data, specially in case of organisational resources. 

I have done this too 😜 which turned out to be the source of my project idea. This app will help you to share the message in form **QR Code which will auto expire after 30 secs**.

### How I built it 
I deployed my Node App on Digital Ocean Server. I created a Droplet where I managed all of my app resources. This was pretty straightforward and easy with help of documentations and articles available on web.

Installing **ngnix** and pointing DigitalOcean Nameservers From Common Domain Registrars became easy with setup guide.

Deployment and setup on Digital Ocean platform is very simple and quick. I really liked and enjoyed my journey while setting up my App on Digital Ocean. Kudos to the team 😇

### Additional Resources/Info
* [Node App Setup](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04)
* [Registering your domain name](https://www.digitalocean.com/community/tutorials/how-to-point-to-digitalocean-nameservers-from-common-domain-registrars)
* [Slack app setup](https://x-team.com/blog/slack-app-step-by-step/)

I will be sharing my whole journey and steps I followed from inception to go live stage of the app in my upcoming post. I will be detailing more about slack integrations and node app setup from initial to final phase.

All ears for feedbacks and suggestions!👂 

Happy Coding!👩🏻‍💻