Skip to content

ekaterinadvolkova/Ticket-System-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simulation of Swiss Railways Ticket System


Part I

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.


Subject Area


There are the following types of entities:

Station

  • Name
  • Timetable
    • Train number
    • Departure or arrival time

Train 🚆

  • Number
  • Route stations
  • Amount of seats

Passenger 👨

  • First Name
  • Last Name
  • Birth Date

Ticket 🎫

  • Train number
  • Fist and last names of the passenger

The Aplication must provide the following functionalities:

  • 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;

Technical Requirements ⚠️

  • 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.

Technologies 🚧

  • IDE - Any (Eclipse, IDEA)
  • Tomcat
  • DB – MySQL
  • Maven
  • JPA
  • Spring Framework (except Boot, Data)
  • JSP