Skip to content

Commit d4b456f

Browse files
authored
Merge pull request #5 from oslabs-beta/ryan-alex/slack-oauth
Ryan alex/slack oauth
2 parents a37866b + 82372b2 commit d4b456f

File tree

14 files changed

+368
-282
lines changed

14 files changed

+368
-282
lines changed

.env.example

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#DO NOT DELETE THIS FILE, and follow instructions:
2+
# Required for Slack Oauth features
3+
# Create TWO files, one named ".env" and the second named ".env.development" in this directory, and give them the following variables
4+
# Any environment variables you create MUST also be created here in .env.example
5+
6+
SLACK_CLIENT_SECRET = "ENTER_CLIENT_SECRET_HERE"
7+
SLACK_CLIENT_ID = "ENTER_CLIENT_ID_HERE"
8+
SLACK_WEBHOOK_URL = "ENTER WEBHOOK URL HERE"
9+
SLACK_REDIRECT_URI = "REDIRECT URL HERE"
10+
11+
# https://www.npmjs.com/package/dotenv
12+
# https://www.npmjs.com/package/quasar-dotenv
13+
# https://v1.quasar.dev/quasar-cli/handling-process-env
14+
# https://v1.quasar.dev/quasar-cli/quasar-conf-js#using-dotenv

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#secret Api keys, Webhook URLs etc
22
slackApiStuff.js
33
.env
4+
.env.development
45
#
56
.quasar
67
.DS_Store

.vsls.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "http://json.schemastore.org/vsls",
3+
"gitignore":"none"
4+
}

package-lock.json

Lines changed: 48 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"dotenv": "^10.0.0",
3030
"electron-deeplink": "^1.0.8",
3131
"fs-extra": "^8.1.0",
32+
"jwt-decode": "^3.1.2",
3233
"localforage": "^1.7.3",
3334
"lodash": "^4.17.21",
3435
"lodash.isequal": "^4.5.0",
@@ -37,6 +38,7 @@
3738
"npm": "^6.14.14",
3839
"prismjs": "^1.24.1",
3940
"quasar": "^1.0.0",
41+
"quasar-dotenv": "^1.0.5",
4042
"vue-custom-context-menu": "^3.0.1",
4143
"vue-drag-resize": "^1.3.2",
4244
"vue-draggable-nested-tree": "^2.2.17",

0 commit comments

Comments
 (0)