/delivery-platform-monitor

Monitor your Doordash, Grubhub, UberEats and notify managers when unavailable to customers

Primary LanguageJavaScript

Delivery Platform Monitor

Monitor your Restaunt / Store's Food Service Platform availability and notify managers when it becomes unavailable to customers.

Why?

Restaurants often becomes unavailable on food delivery service platforms and they are none the wiser. In order to prevent losing business and ensure the Managers are in the loop about restaurant unavailability, this tool was created.

Supported Platforms

  • UberEats

  • Doordash

  • Grubhub

Why does a restaurant / store go offline?

A restaurant can go offline for multiple reasons:

  • Server issues on the Food Platform side

  • Network connectivity issues in your restaurant / store

  • Forgot to go online after a temporary blackout

  • Tablet ran out of power

Usage / Setup

  1. Clone this project

git clone https://github.com/5punk/food-service-monitor

  1. Install dependencies

npm install

  1. Update the configs to make it relevant to your store / restaurant (Instructions included)

  2. Ensure the notifications configuration is upto date.

  3. Update your store's / restaurant's hours to ensure we don't check during offline hours.

  4. Run the project

Running

This project can be run in 2 modes:

One time

Best to test or when executed / paired with a cronjob / task scheduler

npm start

Daemon / Forever mode

Best when you just want to run the command and have it loop forever (till you manually kill it).

npm run forever

Note: Update the recheckTime to reflect how often you'd like to check the status of your restaurant / store. Don't check too soon / often if you don't want your IP Address to be flagged as suspicious by any platform.

Notifications

You obviously need to be notified when this script detects one or more of your stores as unavailable. Enable notifications and configure them here

Emails

Currently nodemailer as a transport has been implemented. What this means is you can configure the SMTP settings or use a popular Email Platform such as Gmail or Sendmail by adding the credentials for yourself right here

Text to phone

You can use your phonenumber email gateway to get a text to your phone. A guide to your phonenumber's email gateway can be found here

Slack

Get Slack notifications immediately via the Email Webhook

Push Notifications

You can use a service like Pushover that supports an email gateway to push notifications to a device or a group of devices.

Tracking

Anonymous Usage collected

No restaurant / store IDs, names, locations or any of that sort of data collected.

Just the basic running statistics to help optimize and improve future work.

You can always opt out, but sending anonymous data will benefit everyone.