This thesis provides an integrated overview of the development of several backend sections for a digital-asset e-commerce system, with particular emphasis on designing RESTful services and orchestrating business processes that involve both users and the assets themselves. The work focuses on defining the application logic and integrating the data layer, addressing both the exposure of functionality via APIs and the coordination of the internal flows required for the platform’s operational management. A cornerstone of the work is the modeling of application entities on a relational database through Django’s ORM: models and relationships were designed to represent users, assets, and related resources, including important secondary operations dedicated to linking products and orders, thereby supporting a range of possible application scenarios. Building on this data layer, the APIs and service logic govern the application’s core operations. A significant part of the project is devoted to system administration: custom administrator functions were implemented—targeted actions and views—designed to streamline catalog governance, order oversight, and the management of assets and users. Complementing this, webhooks and internal functions were developed to integrate events within payment workflows. Code quality and behavioral reliability were supported by introducing unit tests on the main components, with the goal of verifying the correctness of critical paths and enabling the controlled evolution of the backend. Overall, the thesis documents the development of a modular, integrated backend centered on RESTful APIs, the Django ORM, and orchestration and administration mechanisms suited to the e-commerce context.
Questa tesi illustra in modo organico lo sviluppo di diverse sezioni del backend di un sistema e-commerce di asset digitali, con particolare attenzione alla progettazione di servizi RESTful e all’orchestrazione dei processi di business che coinvolgono utenti e gli stessi asset. Il lavoro si concentra sulla definizione della logica applicativa e sull’integrazione del livello dati, affrontando sia gli aspetti di esposizione delle funzionalità tramite API sia quelli di coordinamento dei flussi interni necessari alla gestione operativa della piattaforma. Un pilastro dell’attività è la modellazione delle entità applicative su database relazionale attraverso l’ORM di Django: sono stati progettati modelli e relazioni per rappresentare utenti, asset e risorse correlate, includendo anche importanti operazioni secondarie dedicate al collegamento tra prodotti e ordini, così da supportare diversi possibili scenari applicativi. Su questa base dati si innestano le API e la logica di servizio che governano le principali operazioni dell'applicazione. Una parte rilevante del progetto è dedicata all’amministrazione del sistema: sono state realizzate funzioni personalizzate per gli amministratori, sotto forma di azioni e viste mirate, pensate per semplificare le attività di governo del catalogo, la supervisione degli ordini e la gestione degli asset e degli utenti. A complemento, sono stati sviluppati webhook e funzioni interne per l’integrazione di eventi sui flussi di pagamento. La qualità del codice e l’affidabilità dei comportamenti sono state supportate dall’introduzione di test unitari sui componenti principali, con l’obiettivo di verificare la correttezza dei percorsi critici e di favorire l’evoluzione controllata del backend. Nel complesso, la tesi documenta il percorso di sviluppo di un backend modulare e integrato, centrato su API RESTful, ORM Django e meccanismi di orchestrazione e amministrazione adatti al contesto e-commerce.
Sviluppo backend e amministrazione di un sistema e-commerce: servizi RESTful e orchestrazione dei processi di business su utenti ed asset digitali
STEFANI, LORENZO
2024/2025
Abstract
This thesis provides an integrated overview of the development of several backend sections for a digital-asset e-commerce system, with particular emphasis on designing RESTful services and orchestrating business processes that involve both users and the assets themselves. The work focuses on defining the application logic and integrating the data layer, addressing both the exposure of functionality via APIs and the coordination of the internal flows required for the platform’s operational management. A cornerstone of the work is the modeling of application entities on a relational database through Django’s ORM: models and relationships were designed to represent users, assets, and related resources, including important secondary operations dedicated to linking products and orders, thereby supporting a range of possible application scenarios. Building on this data layer, the APIs and service logic govern the application’s core operations. A significant part of the project is devoted to system administration: custom administrator functions were implemented—targeted actions and views—designed to streamline catalog governance, order oversight, and the management of assets and users. Complementing this, webhooks and internal functions were developed to integrate events within payment workflows. Code quality and behavioral reliability were supported by introducing unit tests on the main components, with the goal of verifying the correctness of critical paths and enabling the controlled evolution of the backend. Overall, the thesis documents the development of a modular, integrated backend centered on RESTful APIs, the Django ORM, and orchestration and administration mechanisms suited to the e-commerce context.| File | Dimensione | Formato | |
|---|---|---|---|
|
stefani-tesi-pdfa.pdf
Accesso riservato
Dimensione
1.32 MB
Formato
Adobe PDF
|
1.32 MB | Adobe PDF |
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
https://hdl.handle.net/20.500.12608/102073