├── .gitignore ├── .mvn └── wrapper │ ├── MavenWrapperDownloader.java │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── README.md ├── database └── ftb.sql ├── diagrams ├── AddFlightSequenceDiagram.png ├── BookFlightSequenceDiagram.png ├── CollaborationDiagramSearch.png ├── ERDDiagram1.jpg ├── Flight Ticket Booking (FTB) - Final.pptx ├── Flight Ticket Booking (FTB).pptx ├── SRS-Flight Ticket Booking.docx ├── SearchFlightSequenceDiagram.png ├── SystemArchitecture-FTB.jpg ├── UseCaseDiagram.png ├── VOPC FLIGHT.jpg ├── Vision Document for AeroTrans.docx ├── classDiagram.jpg └── collaboration diagram.png ├── ftb.jar ├── mvnw ├── mvnw.cmd ├── pom.xml └── src ├── main ├── java │ └── com │ │ └── aerotravel │ │ └── flightticketbooking │ │ ├── FlightticketbookingApplication.java │ │ ├── config │ │ ├── WebConfig.java │ │ └── WebSecurityConfig.java │ │ ├── controller │ │ └── MainController.java │ │ ├── model │ │ ├── Aircraft.java │ │ ├── Airport.java │ │ ├── Flight.java │ │ ├── Passenger.java │ │ ├── Role.java │ │ └── User.java │ │ ├── repository │ │ ├── AircraftRepository.java │ │ ├── AirportRepository.java │ │ ├── FlightRepository.java │ │ ├── PassengerRepository.java │ │ └── UserRepository.java │ │ └── services │ │ ├── AircraftService.java │ │ ├── AirportService.java │ │ ├── FlightService.java │ │ ├── PassengerService.java │ │ ├── UserService.java │ │ └── servicesimpl │ │ ├── AircraftServiceImpl.java │ │ ├── AirportServiceImpl.java │ │ ├── FlightServiceImpl.java │ │ ├── PassengerServiceImpl.java │ │ └── UserServiceImpl.java └── resources │ ├── application.properties │ ├── static │ └── img │ │ ├── airplane.jpg │ │ └── ali.jpg │ └── templates │ ├── aircrafts.html │ ├── airports.html │ ├── bookFlight.html │ ├── confirmationPage.html │ ├── flights.html │ ├── index.html │ ├── layout │ └── master-page.html │ ├── login.html │ ├── newAircraft.html │ ├── newAirport.html │ ├── newFlight.html │ ├── newPassenger.html │ ├── passengers.html │ ├── searchFlight.html │ └── verifyBooking.html └── test └── java └── com └── aerotravel └── flightticketbooking ├── FlightticketbookingApplicationTests.java └── service └── AircraftServiceTest.java /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/.gitignore -------------------------------------------------------------------------------- /.mvn/wrapper/MavenWrapperDownloader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/.mvn/wrapper/MavenWrapperDownloader.java -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/README.md -------------------------------------------------------------------------------- /database/ftb.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/database/ftb.sql -------------------------------------------------------------------------------- /diagrams/AddFlightSequenceDiagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/diagrams/AddFlightSequenceDiagram.png -------------------------------------------------------------------------------- /diagrams/BookFlightSequenceDiagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/diagrams/BookFlightSequenceDiagram.png -------------------------------------------------------------------------------- /diagrams/CollaborationDiagramSearch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/diagrams/CollaborationDiagramSearch.png -------------------------------------------------------------------------------- /diagrams/ERDDiagram1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/diagrams/ERDDiagram1.jpg -------------------------------------------------------------------------------- /diagrams/Flight Ticket Booking (FTB) - Final.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/diagrams/Flight Ticket Booking (FTB) - Final.pptx -------------------------------------------------------------------------------- /diagrams/Flight Ticket Booking (FTB).pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/diagrams/Flight Ticket Booking (FTB).pptx -------------------------------------------------------------------------------- /diagrams/SRS-Flight Ticket Booking.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/diagrams/SRS-Flight Ticket Booking.docx -------------------------------------------------------------------------------- /diagrams/SearchFlightSequenceDiagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/diagrams/SearchFlightSequenceDiagram.png -------------------------------------------------------------------------------- /diagrams/SystemArchitecture-FTB.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/diagrams/SystemArchitecture-FTB.jpg -------------------------------------------------------------------------------- /diagrams/UseCaseDiagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/diagrams/UseCaseDiagram.png -------------------------------------------------------------------------------- /diagrams/VOPC FLIGHT.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/diagrams/VOPC FLIGHT.jpg -------------------------------------------------------------------------------- /diagrams/Vision Document for AeroTrans.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/diagrams/Vision Document for AeroTrans.docx -------------------------------------------------------------------------------- /diagrams/classDiagram.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/diagrams/classDiagram.jpg -------------------------------------------------------------------------------- /diagrams/collaboration diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/diagrams/collaboration diagram.png -------------------------------------------------------------------------------- /ftb.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/ftb.jar -------------------------------------------------------------------------------- /mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/mvnw -------------------------------------------------------------------------------- /mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/mvnw.cmd -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/pom.xml -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/FlightticketbookingApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/FlightticketbookingApplication.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/config/WebConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/config/WebConfig.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/config/WebSecurityConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/config/WebSecurityConfig.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/controller/MainController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/controller/MainController.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/model/Aircraft.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/model/Aircraft.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/model/Airport.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/model/Airport.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/model/Flight.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/model/Flight.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/model/Passenger.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/model/Passenger.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/model/Role.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/model/Role.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/model/User.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/model/User.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/repository/AircraftRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/repository/AircraftRepository.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/repository/AirportRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/repository/AirportRepository.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/repository/FlightRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/repository/FlightRepository.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/repository/PassengerRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/repository/PassengerRepository.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/repository/UserRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/repository/UserRepository.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/services/AircraftService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/services/AircraftService.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/services/AirportService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/services/AirportService.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/services/FlightService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/services/FlightService.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/services/PassengerService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/services/PassengerService.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/services/UserService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/services/UserService.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/services/servicesimpl/AircraftServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/services/servicesimpl/AircraftServiceImpl.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/services/servicesimpl/AirportServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/services/servicesimpl/AirportServiceImpl.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/services/servicesimpl/FlightServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/services/servicesimpl/FlightServiceImpl.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/services/servicesimpl/PassengerServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/services/servicesimpl/PassengerServiceImpl.java -------------------------------------------------------------------------------- /src/main/java/com/aerotravel/flightticketbooking/services/servicesimpl/UserServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/java/com/aerotravel/flightticketbooking/services/servicesimpl/UserServiceImpl.java -------------------------------------------------------------------------------- /src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/resources/application.properties -------------------------------------------------------------------------------- /src/main/resources/static/img/airplane.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/resources/static/img/airplane.jpg -------------------------------------------------------------------------------- /src/main/resources/static/img/ali.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/resources/static/img/ali.jpg -------------------------------------------------------------------------------- /src/main/resources/templates/aircrafts.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/resources/templates/aircrafts.html -------------------------------------------------------------------------------- /src/main/resources/templates/airports.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/resources/templates/airports.html -------------------------------------------------------------------------------- /src/main/resources/templates/bookFlight.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/resources/templates/bookFlight.html -------------------------------------------------------------------------------- /src/main/resources/templates/confirmationPage.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/resources/templates/confirmationPage.html -------------------------------------------------------------------------------- /src/main/resources/templates/flights.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/resources/templates/flights.html -------------------------------------------------------------------------------- /src/main/resources/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/resources/templates/index.html -------------------------------------------------------------------------------- /src/main/resources/templates/layout/master-page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/resources/templates/layout/master-page.html -------------------------------------------------------------------------------- /src/main/resources/templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/resources/templates/login.html -------------------------------------------------------------------------------- /src/main/resources/templates/newAircraft.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/resources/templates/newAircraft.html -------------------------------------------------------------------------------- /src/main/resources/templates/newAirport.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/resources/templates/newAirport.html -------------------------------------------------------------------------------- /src/main/resources/templates/newFlight.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/resources/templates/newFlight.html -------------------------------------------------------------------------------- /src/main/resources/templates/newPassenger.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/resources/templates/newPassenger.html -------------------------------------------------------------------------------- /src/main/resources/templates/passengers.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/resources/templates/passengers.html -------------------------------------------------------------------------------- /src/main/resources/templates/searchFlight.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/resources/templates/searchFlight.html -------------------------------------------------------------------------------- /src/main/resources/templates/verifyBooking.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/main/resources/templates/verifyBooking.html -------------------------------------------------------------------------------- /src/test/java/com/aerotravel/flightticketbooking/FlightticketbookingApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/test/java/com/aerotravel/flightticketbooking/FlightticketbookingApplicationTests.java -------------------------------------------------------------------------------- /src/test/java/com/aerotravel/flightticketbooking/service/AircraftServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aliahmadi4/FlightBookingSystem/HEAD/src/test/java/com/aerotravel/flightticketbooking/service/AircraftServiceTest.java --------------------------------------------------------------------------------