Repository of colleges and higher education institutions

Show document
A+ | A- | Help | SLO | ENG

Title:Razvoj programskega vmesnika (API) z uporabo arhitekture REST
Authors:ID Zagorc, Martin (Author)
ID Lahajnar, Sebastian (Mentor) More about this mentor... New window
Files:.pdf DIP_Zagorc_Martin_2025.pdf (2,26 MB)
MD5: 27519746FF8811D12E4549F306E48197
 
Language:Slovenian
Work type:Bachelor thesis/paper
Typology:2.11 - Undergraduate Thesis
Organization:UNM FEI - University of Novo mesto - Faculty of Economics and Informatics
Abstract:V diplomski nalogi o razvoju programskega vmesnika (API) z uporabo arhitekture REST za generiranje parametriziranih jedilnikov smo raziskali teoretične osnove spletnih protokolov, arhitekture REST in dokumentnih podatkovnih baz. V empiričnem delu smo implementirali funkcionalnost za filtriranje receptov po sestavinah, generiranje poosebljenih jedilnikov in operacije CRUD z uporabo ASP.NET Core in MongoDB. Sistemski pristop je vključeval obdelavo podatkov iz platforme Kaggle, implementacijo avtentifikacije JWT, optimizacijo s predpomnjenjem in omejevanje hitrosti dostopa z algoritmom Token Bucket. Razvili smo dva algoritma za filtriranje in omogočili končnemu uporabniku izbor. Za generiranje jedilnikov smo uporabili evklidsko razdaljo za iskanje optimalnih receptov glede na prehranske cilje. Rezultati kažejo, da dokumentna podatkovna baza omogoča fleksibilno shranjevanje gnezdenih struktur receptov, arhitektura REST zagotavlja skalabilnost in enostavno integracijo, medtem ko ASP.NET Core z vzorcem MVC omogoča modularno organizacijo kode. Testiranje smo izvedli z orodji Swagger in Postman ter z obremenitvenim testiranjem. Glavne omejitve predstavljajo procesorska zahtevnost algoritma filtriranja, potreba po nalaganju celotne baze v delovni pomnilnik in osnovni sistem obvladovanja napak. SWOT-analiza izpostavlja prilagodljivost sistema različnim dietam kot ključno prednost, vendar opozarja na potencialne težave skalabilnosti pri večjih podatkovnih zbirkah. Sistem omogoča učinkovito načrtovanje zdrave prehrane z upoštevanjem individualnih potreb.
Keywords:REST API, ASP.NET Core, MongoDB, algoritem generiranje jedilnikov, filtriranje receptov.
Year of publishing:2025
PID:20.500.12556/ReVIS-12334 New window
Publication date in ReVIS:01.10.2025
Views:133
Downloads:1
Metadata:XML DC-XML DC-RDF
:
Copy citation
  
Share:Bookmark and Share


Hover the mouse pointer over a document title to show the abstract or click on the title to get all document metadata.

Secondary language

Language:English
Title:Development of an aplication programing interface (API) using REST architecture
Abstract:generating parameterized meal plans, we researched the theoretical foundations of web protocols, REST architecture, and document databases. In the empirical part, we implemented functionality for filtering recipes by ingredients, generating personalized meal plans, and CRUD operations using ASP.NET Core and MongoDB. The systematic approach included data processing from the Kaggle platform, JWT authentication implementation, optimization through caching, and rate limiting using the Token Bucket algorithm. We developed two filtering algorithms and made it able for the end user to decide on which to use. For meal plan generation, we used Euclidean distance to find optimal recipes based on nutritional goals. Results show that document databases enable flexible storage of nested recipe structures, REST architecture ensures scalability and easy integration, while ASP.NET Core with MVC pattern enables modular code organization. Testing was conducted using Swagger, Postman, and stress testing tools. Main limitations include computational complexity of filtering algorithms, need for loading the entire database into working memory, and basic error handling system. SWOT analysis highlights system adaptability to different diets as a key advantage but warns of potential scalability issues with larger datasets. The system enables efficient healthy meal planning while considering individual needs and dietary preferences for improved nutrition management.
Keywords:REST API, ASP.NET Core, MongoDB, meal plan generation, recipe filtering.


Back