Skip to content

ShogunCode/jet2-holiday-database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Jet2holidays Database Project

Overview

This project involved reverse engineering the Jet2holidays.com website to design and implement a MySQL database representing its working structure. Jet2Holidays offers customers package holidays, including accommodation, travel arrangements, and additional services like insurance.

Our team focused on the main aspect of booking a direct flight and accommodation, with assumptions made regarding flight and accommodation availability. Features such as insurance or in-flight meals were deemed out of scope for this project.

Entity Relationship Diagrams

We started by identifying the entity relationships from the Jet2Holidays website and created an entity relationship diagram to visualize the findings.

Figure 1. Here you can see the findings from the Entity Discovery exercise

Entity Discovery

Figure 2. Here you can see the Draw.io diagram showing the Entity Relationship

Entity Relationship - Draw.io

Figure 3. Here you can see the MySQL Designer diagram showing the Entity Relationship

Entity Relationship - MySQL

Development and Design Choices

The database evolved through continuous refinement and examination, with various tables added and removed to model the real-world relationships as closely as possible.

Design Features:

  • Entity relation notation implementation
  • Redundancy elimination
  • Data integrity with foreign key constraints

Examples of Good Design Choices

  • Title Table: Created a separate table for titles to reduce redundancy.
  • Airport Table: Introduced an airport_id attribute to maintain atomic data and reduce redundancy.
  • Hotel Table & hotel_id: Implemented a hotel_id primary key linked to multiple related tables, allowing for atomic data and reduced redundancy.

Key Design Features

  • Ability to book multiple flights and rooms under one booking
  • Total price calculation for bookings
  • Outsourced payment processing for security
  • Different routes representation for flights
  • Address geo-location for accurate location data
  • Various data types used depending on the goal of the data held
  • Soft delete feature excluded to avoid potential issues with data integrity and redundancy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published