- Setup an account on Upstash
- Select Node
- Copy string within `new Redis('')
- Copy your password and replace the stars in your URL with your password.
- Add the completed URL in the
.env
file underREDIS_URL
- Setup an account on Pusher
- Obtain your keys and replace them in the
.env
file.
- Obtain your keys and replace them in the
Clone project
git clone
Copy .env.example
to .env
file
cp .env.example .env
Fill variable with their respective values from your accounts.
Install Node dependencies
npm i
Run app
npm run dev
Note: you can open two different browser tabs to start messaging.