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.
Authorized emails
3Admin sees this panel and manages access. Driver sees only their own dashboard and Driver settings. Each person's trips and phone are separate.
| Role | Last sign-in | ||
|---|---|---|---|
| Nov 21 | |||
| never | |||
| never |
Dashers
2View as opens ZoomDash exactly as that dasher sees it (their overview, days, deliveries and stats) until you click Back to my account.
| Dasher | Days | Deliveries | Last dash | Phones | |
|---|---|---|---|---|---|
| Demo Dasher · demo@zoomdash.local | 24 | 235 | Nov 20 | 1 | |
| ZoomStop · hazeltc@gmail.com | 0 | 0 | — | 1 |
Offer score
1–100, shown on phones over DoorDash offersEach 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.