Abstract | Unutar ovog rada opisan je razvoj i priprema za produkcijski rad multi-vendor internet trgovine rabljenih knjiga korištenjem oblikovnog obrasca model-pogled-upravitelj (engl. Model-View-Controller; MVC) unutar .NET 6 tehnologije. Primarni cilj je detaljno opisati i prikazati kroz praktičnu primjenu svih mogućnosti koje tehnologija ASP.NET MVC pruža, uz potporu niza drugih korištenih alata i programskih okvira. Primjenom sustava ASP.NET Identity, omogućeno je razgraničenje pristupa različitim dijelovima razvijene aplikacija. Dakle, implementacijom korisničkih uloga (engl. roles): administrator, korisnik (kupac) i prodavač, svaki korisnik, ovisno o njegovoj ulozi, ima drugačiji doživljaj same aplikacije te može izvršavati određene jedinstvene funkcije. Prodavačima je omogućeno postavljanje vlastitih prodajnih oglasa, s njihovim ažuriranjem i brisanjem, dok kupci imaju mogućnost kupnje i narudžbe željenih proizvoda. Neke od funkcija koje korisnička uloga administratora obnaša, uključuju: izvršavanje CRUD operacija nad kategorijama i potkategorijama, dodavanje novih i brisanje iz baze podataka postojećih korisničkih funkcija, dodjeljivanje novih te oduzimanje postojećih korisničkih uloga određenim korisnicima, blokiranje korisnika te pregled narudžbi, kao i njihovo potencijalno storniranje. |
Abstract (english) | This undergraduate paper describes the development and preparation for production work of a multi-vendor online second-hand book store using the Model-View-Controller (MVC) form within the .NET 6 technology. The primary goal is to describe in detail and show through practical application all the possibilities that .NET MVC technology provides, with the support of a number of other used tools and programming frameworks, when creating a web application. By applying the ASP.NET Identity system, it is possible to limit the access to different parts of the developed application to specific users. Therefore, by implementing user roles, such as administrator, user (buyer) and seller, each user, depending on their role, has a different experience of the application itself and many perform certain unique functions. Sellers are enabled to set up their own sales ads, as well as update and delete them, while customers have the option of buying and ordering the desired products. Some of the functions performed by the administrator user role include: performing CRUD operations (Create, Read, Update, Delete) on categories and subcategories, adding new, as well as deleting existing users from the database, assigning new and withdrawing existing user roles from specific users, blocking of desired users and review of orders, as well as their potential cancellation. |