This repository contains the original Travel Booking System alongside a Spring Boot application located in spring-boot-app.
The Spring Boot module reuses the existing DAO and DTO packages to expose REST services modeled after the legacy client/server architecture.
GET /flights– list all flightsGET /flights/{flightNumber}– retrieve a flight by numberPOST /flights– insert a flight (JSON body matchingApplication.DTOs.Flight)DELETE /flights/{flightNumber}– delete a flight by number
GET /airports– list all airportsGET /airports/{airportNumber}– retrieve an airport by numberPOST /airports– insert an airport (JSON body matchingApplication.DTOs.Airport)DELETE /airports/{airportNumber}– delete an airport by number
cd spring-boot-app
mvn clean package
cd spring-boot-app
mvn spring-boot:run
The application will start on http://localhost:8080.
Database connection settings can be adjusted in spring-boot-app/src/main/resources/application.properties.