Feedconn
Library create message feeds that provides quickly and easily.
On August 1, 2022, the messaging application Zalo will launch premium features that is not free. To keeping in touch with own customer that cause my Team run chat feature on own app. So that, message feeds required to operate efficiently, timely and accurately. The Feedconn will be the core library of the message feeds system.
Installation
Installation is done using the npm install command:
npm install @whthduck/feedconn
Or using the yarn add command
yarn add @whthduck/feedconn
Quick start
The quickest way is started with expressjs . If you haven't seen let's follow installing guide
Create /cert folder => copy credentials from firebase => paste into /cert folder. If you haven't before or how to get it, follow the instructions Service Account
After that, use middleware like the source code below or follow the example
const feedconnApp = new Feedconn().loadConfig({
app: 'app',
credential: {
...credential,
projectId: credential['projectId'] || credential.project_id,
privateKey: credential['privateKey'] || credential.private_key,
clientEmail: credential['clientEmail'] || credential.client_email,
},
databaseURL: database.url,
});
TODO
Thank you
- OneSignal is the fastest and most reliable service to send push notifications, in-app messages, SMS, and emails.