REST API pro ubytování a hotely

Abstract
Tato bakalářská práce se soustředí na návrh a praktickou realizaci klíčové součásti moderních online systémů v oblasti ubytovacích a hotelových služeb - takzvaného REST API. API si lze představit jako jakýsi neviditelný digitální komunikační systém, který efektivně propojuje databázi, kde jsou uložena veškerá důležitá data o pokojích, cenách, dostupnosti nebo hostech, a frontendovou část webu či mobilní aplikace. Cílem práce je právě vytvoření takového API, navrženého specificky pro sektor ubytování. Celý projekt je realizován v programovacím jazyce JavaScript a opírá se o moderní technologickou sadu. Rychlé zpracování kódu na serveru zajišťuje runtime prostředí BunSH. Pro samotnou stavbu a strukturu API byl použit výkonný framework ElysiaJS. Na správu a interakci s databází zjednodušuje nástroj Prisma. A v neposlední řadě jsou data spolehlivě uložena v relační databázi MySQL.
This bachelor thesis focuses on the design and practical implementation of a key component of modern online systems in the field of accommodation and hotel services - the so-called REST API. The API can be imagined as a kind of invisible digital communication system that efficiently connects the database, where all important data about rooms, prices, availability or guests are stored, and the frontend part of a web or mobile application. The aim of this work is to create just such an API, designed specifically for the accommodation sector. The whole project is implemented in JavaScript programming language and relies on a modern technology suite. Fast code processing on the server is provided by the BunSH runtime environment. For the actual construction and structure of the API, the powerful ElysiaJS framework was used. The Prisma tool simplifies the management and interaction with the database. Last but not least, the data is reliably stored in a MySQL relational database.
Description
Subject(s)
Backend, databáze, JavaScript, REST API, vývoj SW
Citation
ISSN
ISBN