Skip to content

TERASOLUNA Server Framework for Java (5.x) sample Application.

License

Notifications You must be signed in to change notification settings

terasolunaorg/atrs

Repository files navigation

Airline Ticket Reservation System (ATRS)

GitHub

Airline Ticket Reservation System (ATRS) is a sample application for developers to learn how to make applications with TERASOLUNA Server Framework for Java (5.x).

Note TERASOLUNA is a customized framework based on Macchinetta by NTT DATA. TERASOLUNA shares ATRS published on Macchinetta as a sample application. Therefore, we did not change the license headers and package names from ATRS of Macchinetta in this ATRS of TERASOLUNA.

Version mapping

The version mapping between TERASOLUNA and Macchinetta in ATRS is here.

How to run the application

Install PostgreSQL

You need to create a database of PostgreSQL on a local machine. (PostgreSQL can be downloaded via here site.)

Property Value
database name atrs
user name postgres
password postgres

Insert test data

Execute the following command to initialize DB.

$ mvn sql:execute -f atrs-initdb/pom.xml

For JDK 17 , JDK 21

Build

$ mvn clean install

Run application

$ mvn cargo:run -pl atrs-web

Web access

Access the following URL.

http://localhost:8080/atrs/