Service Layer medium complexity frontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

Lightweight client-side submission handler that packages form data and dispatches it to the configured form handler endpoint. Acts as the bridge between the static front-end form and the external webhook or email gateway.

Feature: Booking Form

booking-submission-service

Sources & reasoning

Sales Website MVP scope (line 254) explicitly lists a simple demo booking form posting to email/webhook with no login, and the canonical area taxonomy (line 386) names Booking Form as a feature of sales-demo. Phase 1 MVP per source §5.

  • Scope: Information-only. No authentication, no user accounts, no database, no shared runtime with the operational products. A demo-request form may POST to a lightweight form handler (email/webhook), but nothing more.
  • sales-demo | Demo Booking | Booking Form, Booking Confirmation
  • Enkelt demo-booking-skjema (sender til e-post/webhook, ingen pålogging)

Responsibilities

  • Serialize validated form data into the expected payload format
  • Dispatch submissions to the Form Handler Webhook endpoint
  • Handle network errors and retry logic for transient failures
  • Return structured success or failure responses to the form page

Interfaces

submitBookingRequest(payload): SubmissionResponse
buildPayload(formData): BookingPayload