Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
app.js
package-lock.json
package.json

README.md

notify store score

This application post your mobile application's scores distributed in Goole Play and AppStore using npm modules(google-play-scraper, app-store-scraper).

Requirements

Settings

Set envirment variables in .env file.

name value Example
ANDROID_APP_ID Your Android App Id com.example.yourapp
IOS_APP_ID Your iOS App Id 123456789 (without prefix "id")
DIALECT Notification Chat Application slack or mattermost
WEBHOOK_URL slack or mattermost webhook url https://hooks.slack.com/services/xxxx/yyyy
https://mattermost.hostname/hooks/xxxxxx
UERNAME Notification usename in your Chat Application StoreScoreNotifier
CHANNEL Notification Channel in your Chat Application bot
# .env file
ANDROID_APP_ID=com.example.yourapp
IOS_APP_ID=123456789
DIALECT=slack
WEBHOOK_URL=https://hooks.slack.com/services/xxxx/yyyy
USERNAME=StoreScoreNotifier
CHANNEL=bot

How to run

Install packages and run apps.

# install packages
$  install

# run
$ node app.js

Daily CI settings

You can set this application in CI Runner and set daily job.

GitLab CI Sample

dailyScoreNotifier:
  stage: build
  tags:
    - ci-runner-name
  script:
    - npm install
    - node app.js
  only:
    - schedules

ToDo

  • Dockerize application
You can’t perform that action at this time.