This document describes the project carried out by graduating student Andrea Volpe during his internship period lasted three hundred hours at the Sync Lab company (September 5th 2022 - October 28th 2022). The aim of the project was to implement the migration of an existing back-end already developed in Spring, in a back-end written in NestJS and subsequently the drafting of a comparative analysis between the two solutions. The project consisted specifically in the creation of a set of REST API for managing a smart parking service. The idea was born to facilitate any user who wants to access a parking spot inside a parking area and does not want to waste his time looking for a free space and preventing him leaving home if the parking spaces are all occupied; in fact the webapp shows the free/occupied parking spots on a map and also the availability of the parking areas, in real time. This document describes all the project's phases; in particular analysis and planning, restructuring of the database, verification and validation phases have been detailed described and also the final comparative analysis performed which enlightened the more preferring aspects of one solution over the other. Comparative analysis has revealed high costs in terms of development time for NestJS applications (mainly due to the lack of availability of support material), ending to favor the solution already developed in Spring; by the way the realization of the project has been still useful for the proposer, who has been able to get his hands on a new technology, making the framework interesting for future solutions whenever it will become as competitive as the Spring one.

Il presente documento descrive il lavoro svolto durante il periodo di stage, della durata di trecento ore, del laureando Andrea Volpe presso l’azienda Sync Lab nel periodo che va dal 05/09/2022 al 28/10/2022. Lo scopo dello stage era la realizzazione della migrazione di un back-end esistente sviluppato in Spring, in un back-end scritto in NestJS e la stesura un’analisi comparativa tra le due soluzioni. Il progetto consisteva nella realizzazione di un set di API REST per la gestione di un servizio smart parking. L’idea nasce per agevolare un utente che vuole usufruire di un posto auto all’interno di un parcheggio e non vuole perdere tempo in cerca di un posto libero e nemmeno uscire di casa se i posti auto sono tutti occupati; infatti la webapp oltre a mostrare su una mappa le piazzole libere/occupate, segnala anche la disponibilità di posti auto in un parcheggio; il tutto in tempo reale. In questo documento vengono descritte le varie fasi di lavoro effettuate durante lo stage. In particolare si descrive la fase di analisi e progettazione, ristrutturazione del database, verifica e validazione e infine l’analisi comparativa spiegando quali sono stati i punti di valutazione che hanno portato a preferire una soluzione rispetto all’altra. L'analisi comparativa ha rivelato costi elevati in termini di tempo per lo sviluppo di applicazioni NestJS. Problema dovuto principalmente alla scarsa reperibilità di materiale di supporto che ha portato a favorire la soluzione in Spring. La realizzazione del progetto è stata comunque utile per il proponente, che ha potuto mettere mano su una nuova tecnologia; rendendo appetibile il framework per soluzioni future nel caso diventi competitivo al livello di Spring.

Migrazione e analisi comparativa di un back-end per un servizio di smart parking

VOLPE, ANDREA
2021/2022

Abstract

This document describes the project carried out by graduating student Andrea Volpe during his internship period lasted three hundred hours at the Sync Lab company (September 5th 2022 - October 28th 2022). The aim of the project was to implement the migration of an existing back-end already developed in Spring, in a back-end written in NestJS and subsequently the drafting of a comparative analysis between the two solutions. The project consisted specifically in the creation of a set of REST API for managing a smart parking service. The idea was born to facilitate any user who wants to access a parking spot inside a parking area and does not want to waste his time looking for a free space and preventing him leaving home if the parking spaces are all occupied; in fact the webapp shows the free/occupied parking spots on a map and also the availability of the parking areas, in real time. This document describes all the project's phases; in particular analysis and planning, restructuring of the database, verification and validation phases have been detailed described and also the final comparative analysis performed which enlightened the more preferring aspects of one solution over the other. Comparative analysis has revealed high costs in terms of development time for NestJS applications (mainly due to the lack of availability of support material), ending to favor the solution already developed in Spring; by the way the realization of the project has been still useful for the proposer, who has been able to get his hands on a new technology, making the framework interesting for future solutions whenever it will become as competitive as the Spring one.
2021
Migration and comparative analysis of a back-end for a smart parking service
Il presente documento descrive il lavoro svolto durante il periodo di stage, della durata di trecento ore, del laureando Andrea Volpe presso l’azienda Sync Lab nel periodo che va dal 05/09/2022 al 28/10/2022. Lo scopo dello stage era la realizzazione della migrazione di un back-end esistente sviluppato in Spring, in un back-end scritto in NestJS e la stesura un’analisi comparativa tra le due soluzioni. Il progetto consisteva nella realizzazione di un set di API REST per la gestione di un servizio smart parking. L’idea nasce per agevolare un utente che vuole usufruire di un posto auto all’interno di un parcheggio e non vuole perdere tempo in cerca di un posto libero e nemmeno uscire di casa se i posti auto sono tutti occupati; infatti la webapp oltre a mostrare su una mappa le piazzole libere/occupate, segnala anche la disponibilità di posti auto in un parcheggio; il tutto in tempo reale. In questo documento vengono descritte le varie fasi di lavoro effettuate durante lo stage. In particolare si descrive la fase di analisi e progettazione, ristrutturazione del database, verifica e validazione e infine l’analisi comparativa spiegando quali sono stati i punti di valutazione che hanno portato a preferire una soluzione rispetto all’altra. L'analisi comparativa ha rivelato costi elevati in termini di tempo per lo sviluppo di applicazioni NestJS. Problema dovuto principalmente alla scarsa reperibilità di materiale di supporto che ha portato a favorire la soluzione in Spring. La realizzazione del progetto è stata comunque utile per il proponente, che ha potuto mettere mano su una nuova tecnologia; rendendo appetibile il framework per soluzioni future nel caso diventi competitivo al livello di Spring.
migrazione
analisi comparativa
smart parking
spring
nestjs
File in questo prodotto:
File Dimensione Formato  
Volpe_Andrea.pdf

accesso aperto

Dimensione 1.98 MB
Formato Adobe PDF
1.98 MB Adobe PDF Visualizza/Apri

The text of this website © Università degli studi di Padova. Full Text are published under a non-exclusive license. Metadata are under a CC0 License

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.12608/42135