Requirement: http://www.cs.ubbcluj.ro/~vladi/Teaching/Didactic/ISS%202018-2019/info%20romana/lab/iss_cerinte_lab_info_romana.pdf
O institutie teatrala pune la dispozitia spectatorilor un sistem pentru rezervarea locurilor la spectacole. În fiecare zi, institutia are o singura reprezentatie, la care spectatorii pot rezerva locuri începand de dimineata. Pentru un loc în sala, sunt memorate urmatoarele informatii: pozitie (rândul x, loja y etc.), numar si pret. Terminalele puse la dispozitia spectatorilor afiseaza întreaga configuratie a salii, precizând pentru fiecare loc pozitia, numarul, pretul si starea (liber sau rezervat). Folosind un astfel de terminal, spectatorul îsi poate introduce datele personale, poate selecta unul sau mai multe locuri si poate declansa un buton pentru rezervarea lor. După fiecare rezervare, toate terminalele vor afisa situația actualizata referitor la ocuparea sălii.
This project is compound of distinct two parts: server side and client side. The server side is build with Spring Boot. I also used:- Lombok: a Java library which facilitates many tedious tasks and reduces Java source code verbosity
- Hibernate: an object-relational mapping tool
- SSE (Server-Sent Events): a server push technology enabling a browser to receive automatic updates from a server via HTTP connection
An unauthenticated client can also see all the theater shows:
To reserve a seat, a client have to log in to the system:
If the client doesn't have an account, he can create one using the following form:
Once entered in the system, the client can see all his tickets:
To make a reservation, the client have to click on the seats he wants and then click on the "Reserve" button. All the exceptional cases have been taken into account!
The list of theater performances is managed by one "manager". His tasks are:
adding shows
deleting shows
editing shows
adding today show