Monitor your Restaunt / Store's Food Service Platform availability and notify managers when it becomes unavailable to customers.
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.
-
UberEats
-
Doordash
-
Grubhub
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
- Clone this project
git clone https://github.com/5punk/food-service-monitor
- Install dependencies
npm install
-
Update the configs to make it relevant to your store / restaurant (Instructions included)
-
Ensure the notifications configuration is upto date.
-
Update your store's / restaurant's hours to ensure we don't check during offline hours.
-
Run the project
This project can be run in 2 modes:
Best to test or when executed / paired with a cronjob / task scheduler
npm start
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.
You obviously need to be notified when this script detects one or more of your stores as unavailable. Enable notifications and configure them here
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
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
Get Slack notifications immediately via the Email Webhook
You can use a service like Pushover that supports an email gateway to push notifications to a device or a group of devices.
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.