0.1.3 • Published 2 years ago

@whthduck/feedconn v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

✅ 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

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.1

2 years ago