Food as a Service

About this project

A solo developed web application, hosted for free on "Heroku" cloud, which serves as a platform for creating/viewing/editing/deleting user profiles, food products and restaurants as well as purchasing the products and viewing history of purchases.

The functionalities a user can take advantage of depends on the users role. There are 4 roles in total - Anonymous (can only browse), User (has profile, can purchase products and view history of purchases), Manager (can create restaurants and products and edit/delete those, created by him), Admin (manages user roles). Roles and role privileges are achieved via sessions and filter-like classes (interceptors).

Architecture pattern is MVC. Models are the BindingModel, ViewModel and code-first database classes. Controller part is made out of interceptors, service classes, repositories and controllers. Views are generated with the template engine "Thymeleaf"

Technologies used

Resources

https://aleksandar-boev-faas.herokuapp.com/
https://github.com/AleksandarBoev/Food-as-a-Service