Webová aplikace pro domácí evidenci spotřeby energií
Web application for keeping home energy consumption records
Type of document
bakalářská prácebachelor thesis
Author
Dávid Jenčo
Supervisor
Rybola Zdeněk
Opponent
Mlejnek Jiří
Field of study
Webové a softwarové inženýrstvíStudy program
Informatika 2009Institutions assigning rank
katedra softwarového inženýrstvíRights
A university thesis is a work protected by the Copyright Act. Extracts, copies and transcripts of the thesis are allowed for personal use only and at one?s own expense. The use of thesis should be in compliance with the Copyright Act http://www.mkcr.cz/assets/autorske-pravo/01-3982006.pdf and the citation ethics http://knihovny.cvut.cz/vychova/vskp.htmlVysokoškolská závěrečná práce je dílo chráněné autorským zákonem. Je možné pořizovat z něj na své náklady a pro svoji osobní potřebu výpisy, opisy a rozmnoženiny. Jeho využití musí být v souladu s autorským zákonem http://www.mkcr.cz/assets/autorske-pravo/01-3982006.pdf a citační etikou http://knihovny.cvut.cz/vychova/vskp.html
Metadata
Show full item recordAbstract
Tato bakalářská práce se zabývá vytvořením jádra webové aplikace HouseKeeper týkající se správy uživatelských domácností a zejména pak vytvořením modulu pro správu energií do této aplikace. Pro řešení byla použita kombinace několika jazyků a knihoven. REST API na back-endové části je vyvinuté v jazyce PHP s použitím frameworku Laravel a klient na front-endové části je vyvinutý v jazyce TypeScript s použitím frameworku React. Dále byly použity metody pro zajištění kvality kódu a kontinuální integrace a postup změny byl verzován za pomocí nástroje git. Výsledek práce byl otestován jednotkovými testy s využitím frameworků Pest a Vitest a testy pro uživatelský průchod aplikací. Vytvořená aplikace zahrnuje jednotnou správu uživatelů a domácností na front-endové části a následně správu elektroměrů, jejich odečtů a energetických událostí na jak front-endové, tak back-endové části. V aplikaci je možné si prohlížet grafy spotřeby za konkrétní období a také za pomocí grafů porovnávat jednotlivá období mezi sebou. Přínosem této aplikace je snadnější orientace v energiích pro její uživatele a možnost reagovat např. šetrnějším způsobem života na významné změny ve spotřebě elektřiny. This bachelor's thesis deals with the creation of the core of the HouseKeeper web application, which focuses on managing user households, and mainly focuses on creation of the energy management module for this application. A combination of several languages and libraries was used for the solution. The back-end of the application functions as a REST API developed in PHP using the Laravel framework, while the front-end client is developed in TypeScript using the React framework. Methods for ensuring code quality and continuous integration were also used, and the change process was versioned using the git tool. The work was tested with unit tests using the Pest and Vitest frameworks, as well as tests for user interactions with the application. The created application includes unified management of users and households on the front-end, followed by management of energy meters, meter readings and energy events on both the front-end and back-end. The application allows users to view consumption graphs for specific periods or compare different periods in graphs. The benefit of this application is easier orientation in energy management for its users and the possibility of responding, for example, by adopting a more environmentally friendly way of life to significant changes in electricity consumption.
Collections
- Bakalářské práce - 18102 [1745]