This is a sample application that shows you how to integrate a voice message feature into your Stream Chat app. You can read more about how it was build here
To get this app up and running on your local machine, follow the below instruction:
- First, register an account on the Stream website to get an API key. Copy your
APP ID
,API KEY
, andAPI SECRET
after successful registration.
Then:
- Open up the
server.js
file and replace the<STREAM_API_KEY>
and<STREAM_API_SECRET>
placeholders with their correct API keys you just copied. - Open up the custom.js file and replace the
<STREAM_API_KEY>
with its correct detail.
- Next, clone this project to your local machine
git clone https://github.com/dongido001/stream-voice-message.git
cd
into the project root folder and install all dependencies:
cd stream-voice-message && npm install
- Start up the development server:
node server.js
- Start chatting! visit the app at http://localhost:3000