Skip to content

malinowskij/travel-agency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run on your host

Firstly you have to clone github repo:

git clone https://github.com/malinowskij/travel-agency.git

Next step is define your own configuration properties in application.properties, and you have to set spring.datasource.initialize to true, then set datasource parameters. If you want the email sending function, you need to set mail params too.

spring.datasource.data-username=postgres
spring.datasource.data-password=postgres
spring.datasource.url=jdbc:postgresql://localhost:5432/travelAgency
spring.mail.username=sample_mail@gmail.com  
spring.mail.password=sample_password

Next step is run application from your IDE, or from terminal, so you need to type this in terminal:

./mvnw package

Now application is starting, wait a moment and enjoy it.

If you want create an admin account, you need to register via standard form, and manually add ROLE_ADMIN in database for your new user.

Features

  • Registering
  • Booking place in travel
  • Modifying booking
  • Canceling booking
  • Generating PDF for Booking
  • Sending mail with attachment to client
  • Creating new trip
  • Managing trips (modyfying, canceling)
  • Searching for trips (detailed)
  • Searching for registered users
  • Managing own account
  • Adding multiple photos for one travel
  • Creating Schedules for trips
  • Creating attractions for schedules

Used technologies and Ideas

  • Java 1.8
  • Spring Boot, Security, Data JPA
  • Maven
  • PostgreSQL
  • HTML, CSS, JS, jQuery
  • Spring Access Control List (ACL)

Screens from application

Registration form

Register form

Trip creator form

Trip creator form

Trip schedule creator

enter image description here

Trip searching

Trip searching

Part of trip details

Part of trip details

Email received after a booking

Email received after a booking

Generated PDF, after booking

Generated PDF after booking

Author

Jakub Malinowski