ad-t / rbs Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Think we should create a table for individual tickets which can be linked to orders. Tickets will be generated when the order is marked as complete.
{
id: uuid,
showId: int,
orderId: uuid,
seat: string,
// code for checking admissions
code: string,
used: boolean
}
At the moment, from what I can see only one ticket type can be set per order reservation (/shows/{id}/seats
).
This technically might not be necessary for MVP but it makes ordering more complicated and currently results in more PayPal transactions than necessary.
Change schema for show so that it follows the following format
{
- time : ???
- seats : number
- name : string
- ticket_type : Array<ITicketType>
}
Add Ticket Type Schema
{
- id : number
- description : string
- cost : number
- min_tickets : number // This means the minimum amount of this particular ticket you can buy. For example for group tickets, you need to have a minimum of 5 people to buy it.
}
Establishing a system for the admin of a production to mark a specific ticket as "consumed" or "used" when the audience member enters the show with it.
Brought up in #12 and further discussed there.
Accidently committed directly to feature/frontend
Currently any ticket reserved through /shows/X/seats
will remain reserved until manually removed from the database. To avoid the same problems as the old RBS, the server should invalidate/remove old reservations which haven't been paid.
Currently the user will lose all progress if the back button is (accidentally) clicked. We should either (crudely) prevent use of back button or (properly) implement client session history.
Note: Currently frontend work is in the feature/frontend branch.
When you submit a form with invalid inputs, it will break and only resolve on a refresh.
Change schema for production so that it follows the following format,
{
- id : number
- title : string
- subtitle : string
- year : number
- location : string
- show_image : ???
- show_nights: Array<IShowNight>
}
Edit 1: Changed from ticket_type to show_nights. Typo
We will need probably need to talk about standardise the ticketing information
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.