Skip to content

kernel-community/confab-backend

Repository files navigation

Conversations

Setup

0.

$ yarn

1.

config/credentials.json

{
  "web": {
    "client_id": "",
    "project_id": "",
    "auth_uri": "",
    "token_uri": "",
    "auth_provider_x509_cert_url": "",
    "client_secret": "",
    "redirect_uris": [""]
  }
}

2.

config/index.json

{
  "server": {
    "port": "<port>"
  },
  "services": {
    "google": {
      "scopes": [""],
      "pathToToken": "config/token.json",
      "pathToCredentials": "config/credentials.json",
      "calendarId": {
        "<calendar_name>": ""
      }
    },
    "slack": {
      "<app_name>": {
        "botToken": "",
        "userToken": ""
      },
      "channels": {
        "<channel_name>": ""
      }
    },
    "discord": {}
  }
}

3.

Setup Google auth token

$ ts-node services/google/auth/getAccesstoken.ts

run locally

$ yarn start:local

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published