Coder Social home page Coder Social logo

5punk / delivery-platform-monitor Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 401 KB

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

JavaScript 100.00%
down-detector ubereats doordash grubhub restaurant monitor monitoring availability notify delivery food-delivery

delivery-platform-monitor's Introduction

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.

delivery-platform-monitor's People

Contributors

5punk avatar dependabot[bot] avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.