The task is to write an application that simulates the operation of an information system for a passenger rail company. The subject area and technical requirements are described in more detail below.
There are the following types of entities:
- Name
- Timetable
- Train number
- Departure or arrival time
- Number
- Route stations
- Amount of seats
- First Name
- Last Name
- Birth Date
- Train number
- Fist and last names of the passenger
-
For passengers 👫
- search for trains running from station A to station B at a given time interval;
- train timetables by station;
- purchasing a ticket if
- there are empty seats
- a passenger with the same first name, surname and date of birth is not yet registered on the selected train
- at least 10 minutes before train departure
-
For staff 👷
- adding new stations, trains
- view all passengers registered on the train
- View all trains;
- The final requirement is for a multi-user, client-server application with network connectivity.
- All data is stored on the server side.
- Each client can upload some data, after each change operation the data should be synchronized with the server.
- The client must have a graphical interface.
- The application must handle hardware and software errors.
- IDE - Any (Eclipse, IDEA)
- Tomcat
- DB – MySQL
- Maven
- JPA
- Spring Framework (except Boot, Data)
- JSP