Skip to content

Instantly share code, notes, and snippets.

@isaidspaghetti
Created July 17, 2020 21:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaidspaghetti/2e40841cf8dfdeb1f581912e88f374a8 to your computer and use it in GitHub Desktop.
Save isaidspaghetti/2e40841cf8dfdeb1f581912e88f374a8 to your computer and use it in GitHub Desktop.
Cinfiguring backend api
//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