ZoomDash

Settings

Site access and who can sign in.

Sign-in is off. Protect this site with basic auth.

Until Google SSO is enabled, ZoomDash has no login of its own. Anyone who can reach dash.zoomstop.ovh can see and change everything. Put HTTP basic auth (.htaccess-style password protection) in front of it now, and remove it once Google sign-in is on.

Show the basic auth setup

This server runs nginx, which ignores .htaccess files, so use its equivalent. First create a password file:

sudo htpasswd -c /etc/nginx/.htpasswd-zoomdash yourname

Then add this to /etc/nginx/sites-available/dash and run sudo nginx -t && sudo systemctl reload nginx:

# In the server { } block for dash.zoomstop.ovh
auth_basic           "ZoomDash";
auth_basic_user_file /etc/nginx/.htpasswd-zoomdash;

# The phone app signs its uploads with its own key (an
# Authorization header), so these paths must skip basic auth.
location ~ ^/api/(ingest|pair|device/|photo$) {
    auth_basic off;
    proxy_pass http://127.0.0.1:3210;
    proxy_http_version 1.1;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
}

If you put it behind Apache instead, the .htaccess version is:

AuthType Basic
AuthName "ZoomDash"
AuthUserFile /etc/apache2/.htpasswd-zoomdash
<If "%{REQUEST_URI} !~ m#^/api/(ingest|pair|device/|photo$)#">
    Require valid-user
</If>

The phone app's endpoints have to stay outside the password, because the app authenticates with its own pairing key. The browser will ask for the password once when you download the APK on your phone.

Google sign-in (SSO)

How to get these keys
  1. Open console.cloud.google.com/apis/credentials.
  2. If asked, set up the OAuth consent screen (External; add your Gmail as a test user, or publish it).
  3. Create credentials → OAuth client ID → Web application.
  4. Authorized JavaScript origin: https://dash.zoomstop.ovh
  5. Authorized redirect URI: https://dash.zoomstop.ovh/api/auth/callback/google
  6. Paste the client ID and secret below.

When you turn this on, you'll be sent to the Google sign-in page. Sign in with an Admin email. Locked out? On the server run cd web && npm run sso-off.

Authorized emails

3

Admin sees this panel and manages access. Driver sees only their own dashboard and Driver settings. Each person's trips and phone are separate.

EmailRoleLast sign-in
hazeltc@gmail.com
Nov 21
aehazel22@gmail.com
never
gobblegobbleone@gmail.com
never

Dashers

2

View as opens ZoomDash exactly as that dasher sees it (their overview, days, deliveries and stats) until you click Back to my account.

DasherDaysDeliveriesLast dashPhones
Demo Dasher · demo@zoomdash.local24235Nov 201
ZoomStop · hazeltc@gmail.com00—1

Offer score

1–100, shown on phones over DoorDash offers

Each offer is scored from its estimated $/hr and $/mi against the driver's own targets and how fast the store usually is (from every driver's visits), plus adjustments for badges, add-ons, extra stops and big orders. Move the sliders to see a sample offer and the last offers re-score before saving. Formula: docs/SCORING.md.

Weights (relative, shown as share of the base score)

Adjustments (points added after weighting)

Curves and time estimate

Try an offer

58
$/hr $20.38 (est. 28 min)57/100 · 50%
$/mi $1.8364/100 · 30%
Store usually 9.0m52/100 · 20%

Base 58.2 + 0 adjustments = 58

Last 60 offers, re-scored

0 of 60 change · average shift +0.0 · 0 change color. Accepted offers average 63, passed ones 43 (a wider gap means the score agrees with your choices).

OfferPayMiStatusSavedDraftΔ
Panera Breadplatinum$11.838.6delivered5757·
Wendy's$9.793.2delivered8787·
Chick-fil-A$7.409.1passed4444·
Wendy's$9.545.1delivered7272·
CVS Pharmacy$3.483.9passed3434·
Chick-fil-Aplatinum$6.374.8passed5959·
Five Guys$11.118.7delivered5050·
Starbucksgold$9.851.6delivered100100·
Buffalo Wild Wings$6.016.7passed2020·
Starbucks$9.432.8delivered9191·
McDonald'sgold$8.3716passed3636·
Chipotle Mexican Grill #2231$5.292delivered5858·
Wendy's$8.695.4delivered6666·
Jimmy John's$4.585.2passed4646·
Chick-fil-A$9.497.3delivered5959·
Buffalo Wild Wings$10.469.4passed3232·
CVS Pharmacygold$8.327.4passed5151·
CVS Pharmacy$10.406.2delivered6464·
Buffalo Wild Wings$4.054.2passed2222·
Panera Bread$16.0910passed6363·
Wingstop$19.3211.2passed6060·
Kroger$9.308.8delivered2626·
CVS Pharmacy$4.682.5delivered5757·
McDonald's$13.916.9delivered7575·
Taco Bellplatinum$11.386.5delivered7373·
McDonald's$8.493.2delivered7777·
Kroger$5.999.8passed1717·
Chipotle Mexican Grill #2231gold$13.246.8delivered6666·
Wingstop$11.298.8delivered4848·
Wendy'splatinum$10.904.6delivered8383·
Starbucksgold$12.137.5delivered7474·
Wendy's$13.6211.7delivered5858·
Taco Bell$6.848.1passed4343·
Olive Garden$12.279.7delivered3535·
Walgreens$5.472.4delivered6565·
Walgreensplatinum$11.707.9delivered6464·
Buffalo Wild Wings$11.4717.5delivered2222·
McDonald'splatinum$5.234.2passed5353·
McDonald's$8.145.9delivered5757·
Tony Packo's$7.0515.7passed2727·
Chick-fil-A$5.417.2passed4141·
Walgreens$10.764.4delivered7777·
Chipotle Mexican Grill #2231$7.394.5delivered5151·
Taco Bell$7.865.9passed5656·
Wendy'sgold$4.554.6passed4848·
Five Guysplatinum$12.6114.1delivered4444·
Five Guys$8.268.7passed4040·
Five Guysgold$12.5911.2delivered4949·
Buffalo Wild Wingsgold$11.157.8delivered4141·
Jimmy John's$12.013.3delivered9898·
Panera Bread$11.834.4delivered7676·
Wendy's$7.904.1delivered7676·
Panera Bread$7.271.7delivered7777·
Kroger$12.083.8delivered6363·
Taco Bell$6.774.5passed5959·
McDonald's$7.306.5delivered4949·
CVS Pharmacy$13.456.2delivered7575·
Taco Bellgold$10.317.4delivered6060·
Wingstop$12.7115.1delivered3838·
Wingstop$21.6412.2delivered6262·

Phones pick up saved settings within 30 minutes (or on their next Dash Now). Scores already stored keep their old value unless you re-score.

Maps

Google Maps available

OpenStreetMap works with no setup. Add a Google Maps key to get Google's maps too. Every map then shows an OpenStreetMap | Google switch, and each browser remembers its own pick. The default below is used until someone picks.

How to get a Google Maps API key
  1. Go to console.cloud.google.com/google/maps-apis. Pick or create a project. You can reuse the one from Google sign-in.
  2. Google requires a billing account on the project. Each month includes a free allowance of map loads, more than a single driver uses. Check Google's current pricing.
  3. Open APIs & Services → Library and Enable both Maps JavaScript API and Places API (New).
  4. Open Credentials → Create credentials → API key. It starts with AIza.
  5. Restrict the key: the browser can see it, so lock it to this site. Under Application restrictions choose Websites and add https://dash.zoomstop.ovh/*. Under API restrictions choose Maps JavaScript API and Places API (New) (the gas-station finder in Driver settings uses it).
  6. Optional Map ID, for Google's cloud map styles: Map Management → Create Map ID → type JavaScript. Leave it blank to use ZoomDash's built-in light and dark styles.

Clear the key and save to go back to OpenStreetMap only. If Google rejects the key, the maps fall back to OpenStreetMap and show a message.

Work day

6 am to 6 am

ZoomDash counts a work day as one dash: every DoorDash dash between the start hour and the same hour the next day is added together (pay, miles, hours, one route on the map). DoorDash's own sessions still show inside each day. A dash that runs past midnight stays on the day it started. Applies to everyone, in each driver's own timezone.