Created
July 17, 2020 21:46
-
-
Save isaidspaghetti/2e40841cf8dfdeb1f581912e88f374a8 to your computer and use it in GitHub Desktop.
Cinfiguring backend api
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//backend/routes/index.js:1 | |
const express = require('express'); | |
const router = express.Router(); | |
const StreamChat = require('stream-chat'); | |
const Hubspot = require('hubspot'); | |
require('dotenv').config(); | |
const apiKey = process.env.STREAM_API_KEY; | |
const apiSecret = process.env.STREAM_API_SECRET; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment