$ yarn
config/credentials.json
{
"web": {
"client_id": "",
"project_id": "",
"auth_uri": "",
"token_uri": "",
"auth_provider_x509_cert_url": "",
"client_secret": "",
"redirect_uris": [""]
}
}
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": {}
}
}
Setup Google auth token
$ ts-node services/google/auth/getAccesstoken.ts
$ yarn start:local