Skip to content

ivannguyendev/feed-builder

Repository files navigation

FeedBuilder

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().loadByConfig({
	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

✅ Implement nestjs-feedconn module ✅ insert message into firebase database ✔️ interactive message ✔️ validate content message

Thank you

  • OneSignal is the fastest and most reliable service to send push notifications, in-app messages, SMS, and emails.

License

MIT

About

activity feed

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors