0.0.5 • Published 3 years ago

@mindpowered/reservedseating v0.0.5

Weekly downloads
4
License
MIT
Repository
-
Last release
3 years ago

reservedseating

Reserved/Allocated/Assigned Seating for Venues and Events

Build Status

Contents

Source Code and Documentation

About

Reserved seating is when each event ticket has a specific seat. That is, attendees will know where they will sit ahead of time. Seats are usually identified by row and seat using numbers or letters.

Venues may be set up for different types of events. In this case, the seating configuration, and seats available, will change.

Buying tickets for a reserved seating event can end in disappointment. Unless a system is in place that can hold a seat, they may sell out during the sale process. The system must also have a time limit on holds to make sure enough seats are available to buy. Holds should only last until the sale process is complete or expired. Expired holds should release the seats for sale again. Holds should only last long enough to complete the sale process.

This package aims to reserve seats for a venue and event and allow booking with holds that expire.

Requirements

  • ES6
  • npm

Third-party dependencies may have additional requirements.

Installation

npm

You can retrieve the reservedseating package using npm https://www.npmjs.com/. After initializing your packages.json file in your project’s directory with npm init, you can install the reservedseating package with

npm i @mindpowered/reservedseating --save

hint: the --save option will add the newly installed dependency in your packages.json file.

package.json

You can also add the package directly to your packages.json file.

...

Usage

let mpcrs = require('@mindpowered/reservedseating');
const {ReservedSeating} = mpcrs;

let rs = new ReservedSeating();
rs.CreateVenue("123", "Venue 1", "250");

Support

We are here to support using this package. If it doesn't do what you're looking for, isn't working, or you just need help, please Contact us.

There is also a public Issue Tracker available for this package.

Licensing

This package is released under the MIT License.