Back to search

Universidade de Coimbro

Development of a full-stack application for the Nexus Hauler Capacity Matching

Abstract

dc:description.abstract

This thesis details the development process of a solution to the Haulier Capacity Matching (HCM) problem, which is part of the Nexus project.The Nexus Agenda consortium comprises 35 partners from the entire value chain, spanning maritime transport, importers, exporters, and other stakeholders, to gather knowledge from each partner and improve processes and methods to achieve a ''Green and Digital Transition''.This transition includes reducing Carbon Dioxide (CO2) emissions, for example.The problem presented in the document was identified in the Port of Sines, one of the project's partners.The problem concerns the matching process between containers and trucks, which is suboptimal and employs informal and inefficient methods to communicate.The port receives numerous containers daily, and the people who handle the arrival cargo at the port contract random carriers, for example, that have their trucks far away from the local area or are unavailable.This leads to high levels of emissions due to the long distances travelled without cargo by the trucks and the waste of money and resources by the port to manage the idle containers.The solution is an application that manages all resources needed to match the containers and trucks in optimised pairs.The application provides a simple way to manage all the containers of the port and all the carrier resources, which are used by an algorithm to calculate the matches in real-time.Users can discuss the price of each match and then initiate the delivery process, updating the platform with the current state of the container.An event store saves all state changes, which provides a sequence that describes all the steps that follow on load.In the end, the intervenients of a service can make a review that appears in the personal profile of each user.The development of the application was divided into two phases: searching and development.The first step was to gather details about the problem and the stakeholders involved and to collect requirements to define what the solution must do.Furthermore, it was used to study multiple technologies and make decisions to complete the architectural design.The second part of the work is the development of the application, which follows an agile approach.During that time, the software's backend followed a Test-Driven Development (TDD) approach, using TypeScript (TS) as the programming language, while the frontend was tested through usability tests, utilising React for the code.The final result is a proof-of-concept full-stack application, ready to be tested in a real scenario.This system is deployed in the cloud, configured to minimise the costs associated with its use, and follows the General Data Protection Regulation (GDPR) for user data and the Payment Services Directive 2 (PSD2) regulation for payments, utilising the Truelayer API to ensure compliance with this feature.Furthermore, an optimisation model is integrated and available, returning the calculated matches.The system is prepared to be modified, with decoupled components, to scale with high-traffic demand and to be used on different devices.

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Henriques, João Rafael do Rosário
Advisors dc:contributor.advisor
  • Araújo, Filipe João Boavida Mendonça Machado de
  • Macedo, Luís Miguel Machado Lopes

Subjects

dc:subject × 7

Rights

dc:rights
Statement dc:rights
  • openAccess
Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Tid
204037611

Chain of custody

source
Harvested from
Universidade de Coimbro
Base URL
estudogeral.sib.uc.pt/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Henriques, João Rafael do Rosário. Development of a full-stack application for the Nexus Hauler Capacity Matching. 2025. https://hdl.handle.net/10316/120868