Skip to content

yura-jt/railway-ticket-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

                                                                            Build Status codecov

Contents

Overview

Railway ticket booking is application that provides possibility for using online service as a train tickets reservation platform.

Technology stack

  • Java 8
  • Maven
  • servlets
  • JSP
  • JSTL
  • Hikari connection pool
  • Apache Tomcat
  • log4j2
  • H2
  • MySQL
  • Mockito
  • Junit

Deployment requirements

  • Java 1.8 or later
  • Maven 3.0 or later
  • Apache Tomcat 9.0 or later

Installation

Clone and build

First, clone the project:

$ git clone https://github.com/yura-jt/railway-ticket-app.git

Then, install it:

$ cd railway-ticket-app
$ mvn clean install

Configure mysql

  • use provided at src/resources/db/mysql.properties credentials or change it to yours
  • run scheme sql script (src/resources/db/sql/scheme.sql) before first run of application
  • run test data sql script (src/resources/db/sql/data.sql) before first run of application

Run application

  • Set up project as web project
  • Enable maven auto-import
  • Set up project Java SDK
  • Make war from module at Project structure/artifact menu
  • Add Run configuration based on Apache tomcat Local server instance
  • Run application with mentioned above

Functionality

Railway ticket booking online service provides next functionality:

  • Login and registrations for users
  • Making order for ticket reservation by passenger
  • Invoicing bills due to orders
  • After making bill payment passenger receive ticket
  • Passenger can check train schedule
  • Admin can manage passenger list, bills and orders and could change their status
  • Admin could change ticket tariffs

About

Online railway ticket booking application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published