Add comprehensive admin panel with bookings, live pricing, and email management #4511
ccantynzcommented Mar 6, 2026
Originally written by @vercel[bot] on GitHub.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| bookaride-v2 | Preview, Comment | Mar 6, 2026 9:47pm |
Cross-repo impact
See what breaks downstream if this PR merges.
⮌ Merged
This pull request was merged into main.
c comment · e edit title · m merge · a approve · r request changes · ? shortcuts
Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/BookarideV2/pull/6
Summary
This PR introduces a complete admin panel for BookARide with tools for managing bookings, calculating live pricing quotes, and managing email communications. The admin interface includes authentication, booking status management with confirmation dialogs, and email delivery verification.
Key Changes
Frontend Components
Backend Routes & Services
Admin routes (
/admin/*) - New endpoints for:POST /admin/live-pricing)GET /admin/pricing-enquiries)POST /admin/bookings/{id}/confirm)POST /admin/bookings/{id}/cancel)POST /admin/email/test)POST /admin/email/send-confirmation/{id})GET /admin/email/logs)GET /admin/system-health)Email service (
app/services/email.py) - New service for:Database Schema
pricing_enquiriestable to track admin live pricing tool usageemail_logstable to track all email send attempts with status and detailsSecurity & UX
Notable Implementation Details
https://claude.ai/code/session_018Lk1bRwfbtxc5eo6zXuG94