- Register to get an API key for Stream Chat π
- Tutorial π
- Chat UI Kit π
Stream Reminders is an example project built to demo Stream's newest API.
This project contains two projects, a server implementation server
and a minimal web frontend client.
This application listens for reminder events triggered by Stream's backend and sends an email to the associated user via SendGrid when the event is triggered.
Before running this project, please ensure you do the following:
- ReactJS 18 and above
- NodeJS and Npm
- Ngrok for HTTP forwarding
- An account with Stream and SendGrid
-
Create a
.env
file for both the server and the client as shown below:-
Client
REACT_APP_API_KEY= REACT_APP_NASH_TOKEN= REACT_APP_TESS_TOKEN=
-
Server
PORT= API_KEY= API_KEY_SECRET= SENDGRID_API_KEY=
-
-
Run
npm install --save
in both theserver
andclient
directories -
Open
main.js
under theserver
directory and replace the text βYOUR VERIFIED SENDGRID SENDER
β with a verified SendGrid email. -
Run the server by executing
npm start
in theserver
directory -
Obtain a public Ngrok URL for your server port but executing
ngrok http YOUR_PORT
-
On Streamβs project dashboard, paste your public Ngrok URL
-
Run the client by changing directories to
client
and runningnpm start
π‘ For testing, you can run two different identities by using
USER='nash' npm start
orUSER='tess' npm start
- Happy Hacking π
Stream allows developers to rapidly deploy scalable feeds and chat messaging with an industry-leading 99.999% uptime SLA guarantee. With Streamβs chat components, developers can quickly add chat to their app for a variety of use-cases:
- Livestreams like Twitch or Youtube
- In-Game chat like Overwatch or Fortnite
- Team style chat like Slack
- Messaging style chat like Whatsapp or Facebookβs messenger