Socket
Socket
Sign inDemoInstall

@protacon/muster-booking-frontend

Package Overview
Dependencies
137
Maintainers
6
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @protacon/muster-booking-frontend

Online booking frontend


Version published
Weekly downloads
190
increased by313.04%
Maintainers
6
Created
Weekly downloads
 

Readme

Source

Muster booking frontend

Online booking frontend

Install

npm install @protacon/muster-booking-frontend

Usage

import BookingComponent from '@protacon/muster-booking-frontend'
import '@protacon/muster-booking-frontend/dist/styles.bundle.css'

...

render() {
	return (
		<BookingComponent
			locale="sv"
			timezone="Europe/Stockholm"
			apiEndpoint="https://.../booking.api/v1"
			chainId={2}
			googleApiKey="..."
			maxStations={5}

			// Optional. Preselect reservation params
			plateNumber="..."
			product="..." // Inspection | PostInspection | ConditionInspection
			stationId={...}

			// Optional. Start component with search reservation form, optionaly pass default values
			searchReservation={{
				bookingNumber: '...',
				lastName: '...',
			}}
			/>
	)
}

To start component with existing reservation payment navigate to page with component with search:

?continuePaymentReservationUid={reservationUid}&stationId={stationId}

Development

npm start
open http://localhost:8080/

FAQs

Last updated on 29 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc