FCM push engine
Server for FCM Admin
Send messages via Admin FCM API!
This Application get messages from MS SQL DB, and Send to individual devices.
For using this app
- Set DB config on config/dbConfig.json
- Set FCM service account key on config/fcmServiceAccountKey.json
- Set FCM database URL on config/fcmConfig.json
- Write codes for get datas on service/db.js getPushList function
- Write codes for send push to devices on service/fcm.js sendMsgList funciton
- Write codes for push feedback on service/db.js pushFeedback function
Project setup
npm install -g pm2
pm2 install pm2-logrotate
npm install
Run
npm start
Lints and fixes files
npm run lint
Contributing
Changes and improvements are more than welcome! Feel free to fork and open a pull request.
License
This project is licensed under the MIT License