Skip to content

Instantly share code, notes, and snippets.

@isaidspaghetti
Last active August 20, 2020 20:44
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/6a8c13301fdf6f6b395af2696c8c4d97 to your computer and use it in GitHub Desktop.
Save isaidspaghetti/6a8c13301fdf6f6b395af2696c8c4d97 to your computer and use it in GitHub Desktop.
//backend/routes/api.js:5
const streamApiKey = process.env.STREAM_API_KEY;
const streamApiSecret = process.env.STREAM_API_SECRET;
const serverSideClient = new StreamChat(streamApiKey, streamApiSecret);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment