Skip to content

dongido001/chatkit-notify-mentions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alert users when they are mentioned in your Chatkit app using Web Push Notification

This is a demo application showing how to notify users of their mentions in Chatkit. You can read more on how this was built here.

Sample working example

Project setup

First, clone the repository:

git clone /~https://github.com/dongido001/chatkit-notify-mentions.git

Go to the project folder:

cd chatkit-keyword-mod

Create your env file:

cp .env.example .env
  • Update <YOUR_CHATKIT_SECRET_KEY>, <YOUR_CHATKIT_INSTANCE_LOCATOR>, <YOUR_CHATKIT_TOKEN_ENDPOINT> with your Chatkit keys

  • Generate a Vapid key and update the .env file with the key

 ./node_modules/.bin/web-push generate-vapid-keys

Then update <YOUR_VAPID_PUBLIC_KEY> and <YOUR_VAPID_PRIVATE_KEY> placeholders with your actual keys.

You will need to create some users and rooms on your Chatkit app

Client - Vue

npm install
npm run serve

Server - Node

npm run server

#OR

cd server
node app.js

About

Chatkit notify mentions demo app for a tutorial

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published