Skip to content

Restfull API MVC simulating travel agency application. Final project for Go For Java, Girl! bootcamp.

Notifications You must be signed in to change notification settings

mkozdroj/TravelAgency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travel Agency ✈️

Restfull API MVC simulating travel agency application. Final project for Go For Java, Girl! bootcamp- first edition 2023 r.

Table of Contents

General information

The application has such functionalities:

On the administrative side:

  • Add trips into travel agency offer,
  • Edit trips,
  • Delete trips,
  • Viewing list of trips by Continent, Country, Las-minute trips, Promoted trips,
  • Searching trips by Continent, Country, Food option and Hotel standard
  • View trip orders

From the user side:

  • Viewing list of trips by Continent, Country, Las-minute trips, Promoted trips,
  • Searching trips by Continent, Country, Food option and Hotel standard
  • Creating trip orders
  • Adding trip participants
  • Viewing the list of orders

Both admin and user have different functionality at the same endpoints.

Admin:

  • The default login is: admin
  • Default password is: admin

User:

  • The default login is: user
  • Default password is: user

Entity-Relationship Diagram

ERD_Travel_Agency

Technologies Used

  • Java ver. 17
  • Spring Boot 3.1.5 (with Spring MVC, Spring Security, Spring Web, Spring Data JPA, Spring Test...)
  • H2 database
  • Bootstrap 5.3.2
  • Thymeleaf
  • Lombok
  • Maven
  • Swagger 2.0.3

Screenshots

Home Page with searching form

img.png

Page with admin view with the all trips

img_1.png

Page with admin view with add trip form

img_2.png

Page with user view with order trip form

img_3.png

Page with user view with order details

img_4.png

Zrzut ekranu 2023-12-13 203435 Zrzut ekranu 2023-12-13 203515 Zrzut ekranu 2023-12-13 203547 Zrzut ekranu 2023-12-13 203607 Zrzut ekranu 2023-12-13 203619

Setup

  • Clone this repository to your IDE.
  • The project uses Maven as a build tool.
  • Initial database schemas and datas are included in file 'data.sql'
  • The application runs on localhost: 8080
  • Database console is available : http://localhost:8080/h2-console
  • You can check the functionality of the backend itself using swagger: http://localhost:8080/swagger-ui.html - please, use password mentioned in General Information section

Room for Improvement

To do:

  • Add more test
  • Add validation in the backend connected with entities
  • Add Data transfer objects

Acknowledgements

  • This project is a final project for Go for Java, Girl! bootcamp
  • Many thanks to Mentors and everybody who helped us with this implementation

Contact

Created by: Agnieszka Skrzypulec-Szota, Anna Margery, Marta Kozdrój

About

Restfull API MVC simulating travel agency application. Final project for Go For Java, Girl! bootcamp.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published