Original title:
Zlepšení kvality backendového aplikačního rozhraní v systému pro chytré domácnosti
Translated title:
Improving the Quality of the Backend Application Interface in a Smart Home System
Authors:
Gvozdják, Peter ; Smrž, Pavel (referee) ; John, Petr (advisor) Document type: Bachelor's theses
Year:
2026
Language:
slo Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[slo][eng]
Internet vecí predstavuje jednu z najrýchlejšie rastúcich oblastí softvérového inžinierstva. Používatelia očakávajú spoľahlivé správanie aplikácií spravujúcich IoT zariadenia bez ohľadu na rozsah nasadenia. Pri menších inštaláciách, ako sú chytré domácnosti, sa výkonové ne- dostatky nemusia prejaviť viditeľne, no optimalizácia aplikačného rozhrania umožňuje na- sadenie systému na výkonovo obmedzených zariadeniach. Táto bakalárska práca sa zaoberá zlepšením kvality backendového aplikačného rozhrania systému RIoT, ktorý využíva Grap- hQL API pre správu a monitorovanie IoT zariadení. Práca identifikuje slabé miesta súčasnej implementácie — absenciu databázových indexov, nevhodné automatické migrácie, chýba- júcu pagináciu a nesprávne načítavanie vnorených polí — a navrhuje ich riešenie. Ako dôkaz správnosti implementovaných zmien a ochrana pred budúcou regresiou bola zavedená me- todika automatizovaného testovania pomocou nástroja Hurl s integráciou do CI pipeline cez GitHub Actions. Výsledkom je stabilnejšie, výkonnejšie a udržiavateľnejšie backendové rozhranie systému RIoT.
The Internet of Things is one of the fastest growing areas of software engineering. Users expect reliable behavior of applications managing IoT devices regardless of the scope of deployment. In smaller installations, such as smart homes, performance deficiencies may not be visible, but optimizing the application interface allows the system to be deployed on performance-constrained devices. This bachelor’s thesis deals with improving the quality of the backend application interface of the RIoT system, which uses the GraphQL API for managing and monitoring IoT devices. The thesis identifies the weaknesses of the current implementation — the absence of database indexes, inappropriate automatic migrations, missing pagination, and incorrect loading of nested fields — and proposes their solutions. As proof of the correctness of the implemented changes and protection against future regression, an automated testing methodology using the Hurl tool with integration into the CI pipeline via GitHub Actions was introduced. The result is a more stable, more powerful and more maintainable RIoT backend interface.
Keywords:
automated testing; backend interface; GraphQL; Internet of Things; Smart City
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: http://hdl.handle.net/11012/258871