Skip to content

btkatoufm/atrs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airline Ticket Reservation System (ATRS)

This is a reference application for developers to learn how to build applications with Macchinetta Server Framework & Macchinetta Client Libraries.

How to run the application

Download source code

Download source code from here. Extract the zip file at any location of choice.

Install PostgreSQL

Install and start PostgreSQL. Select 'postgres' as password for postgres user. If you'd like to use other password, some changes will be required in setting files.

Insert test data

First of all, create database named 'atrs'.

After that, execute the command below at the directory where the downloaded source code is unzipped.

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

It is assumed that maven is already installed. If not, install it and try again.

Build and run applicatoin

Execute the command below at the directory where the downloaded source code is unzipped.

JDK 8

$ mvn clean install
$ mvn cargo:run -f atrs-web/pom.xml

JDK 11

When you use JDK 11, you need to set a profile.

$ mvn clean install -P default
$ mvn cargo:run -P default -f atrs-web/pom.xml

Web access

Access http://localhost:8080/atrs/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PLpgSQL 49.2%
  • Java 47.6%
  • JavaScript 2.7%
  • CSS 0.5%