- Home
- How it Connects
How your website and backend connect
Your website and embedded booking widget aren't bolted onto your reservation system, they're part of it. Here's the architecture, the data flow, and the security that carries a booking into the backend your team runs on.
Four layers, one connected system
Your website and booking widget sit on top, the API layer sits in the middle, and the reservation backend your team logs into sits underneath, with data tied to your company. Bookings flow down from the widget into dispatch; live status flows back up to your team.
-
Layer 01
Your website
The public frontend, what riders see
- Marketing pages
- Embedded booking widget
- Branded confirmations
Hosted on your domain. The booking widget is a drop-in script that calls the API directly over HTTPS, it never touches your database.
Widget calls the API over HTTPS ↓
-
Layer 02
API layer
The bridge between site and backend
- REST over HTTPS
- JWT auth & sessions
- Role-based access
- Validated & rate-limited
Every request is authenticated, role-checked, and validated here. Roles cover riders, drivers and five staff roles: owner, operations manager, dispatcher, reservations and accountant. The website never reaches the database directly.
Validated · authenticated · rate-limited ↓
-
Layer 03
Reservation backend / admin dashboard
Your back office, what your team logs into
- Live dispatch board
- Rates & zones engine
- Fleet & driver records
- Corporate billing
- Reports
Your team logs in at yourcompany.karfisllc.com. The dispatch board updates in real time over a server-sent-events stream, no manual refresh.
-
Layer 04
Your data
One source of truth, scoped to your company
- Every reservation, rider, driver, vehicle, invoice, and rate rule lives here
The backend reads and writes to it; the website only ever reads back what the API allows.
These four layers are the "how". For the "what", the eight modules your team manages day to day, see Backend management
A booking, start to finish
Follow a single reservation from quote request through pricing, dispatch, status updates, and into your reports.
- Website
Rider books on the website
A visitor enters pickup, drop-off, date, and vehicle class in the booking widget and requests a quote.
- API + backend
Backend prices the trip
The API validates the request, the rates engine computes real driving distance, and your rates, zones, and vehicle multipliers are applied.
- Backend + DB
Dispatch board updates live
On confirm, the reservation is saved, a branded confirmation email goes out, and the ride appears on your dispatch board in real time.
- Dispatch + driver
Ride is assigned & worked
Your dispatcher assigns the ride. The driver updates status, assigned, en route, arrived, in progress, completed, live on the board.
- Backend → reports
Completed ride flows into reports
The trip flows into revenue summary, revenue over time, ride status breakdown, and driver performance reports.
Six layers between the user and the data
The website never touches the database directly. Every request is encrypted, authenticated, role-checked, validated, and rate-limited before it reaches your data.
JWT auth & sessions
Every request carries a signed token scoped to the user's role. The website never touches the database directly.
Role-based access
Riders, drivers and five staff roles (owner, operations manager, dispatcher, reservations, accountant) see only what their role permits, enforced on the server.
Server-side validation
Every write is validated at the API layer before it reaches your data, no client can write something the backend does not allow.
Rate limiting
Abusive traffic is throttled at the API before it ever reaches the core, keeping your backend responsive.
Optional two-factor auth
Staff accounts can enable TOTP with backup codes. Account setup is email-verified, with self-service password reset.
Data kept separate
Every record is tied to your company. Other companies on the platform cannot see it.
The connection, in real scenarios
Everyday moments where the connected website and backend do work that separate tools simply can't.
Airport pickup booked at 2am
A traveler books an airport ride outside business hours. The quote is instant, the reservation is captured, and your team sees it on the board the moment they log in, no missed leads.
- Website quote
- API validates
- Reservation saved
- Dispatch board lights up
Corporate account repeat booking
A corporate client books through your site under their standing account. The ride attaches to the right corporate profile and a net-terms invoice is generated for it.
- Corporate rider books
- API attaches to account
- Net-terms invoice generated
Dispatcher assigns and tracks
A new ride lands on the live dispatch board the moment it is booked, no refresh needed. The dispatcher assigns it to a driver and watches the status update in real time.
- New ride on board
- Dispatcher assigns
- Status updates live
Driver updates status from the road
The driver uses their authenticated API access to move a ride through each status as the trip happens, and the board reflects it instantly for the whole team.
- Driver marks en route
- Board updates live
- Rider sees status
Related reading
From inquiry to invoice: the one-system advantage
A booking typed once, a ride dispatched automatically, a receipt generated on drop-off. When your website and backend are one system, the manual work simply disappears.
Live GPS tracking: the call you never take again
"Where is my car?" is the most expensive phone call a chauffeur operator takes. A live tracking link from the driver’s phone makes it the last.
The death of the dispatch spreadsheet
A spreadsheet can hold your rides. It cannot push a new booking to a driver’s phone, update a rider’s ETA, or stop a double-assignment. It is time to retire it.
Want this backend wired into your company?
Tell us about your fleet and current setup. We will walk you through exactly how this connects your website, drivers, customers, dispatch, and billing.