What’s a sagra?
Here in Italy, a sagra (sàgra /‘sagra/) is a local festival.
A small management system
This application aims to help those festivals which do not already have a management system,
the software allows to create and manage users, and resources (e.g. dishes and ingredients in the storage).
The tech stack
The backend is built with python using the flask framework to interact dynamically with the webpages and to make queries to the MySQL database. The front-end uses bootstrap for the UI.
User Experience
You can open the images at full resolution in another page
Every user has limited visibility (e.g. the bartender will only be able to see the order page) except for the admin.
Managing resources
It is possible to easily manage proposed dishes via a dedicated web-page
for the ingredients and the staff it is similar, but for the ingredients you can also modify the quantity on the storage via web-page.
Making an order
At the checkout the cashier will have a bare bone simple interface as well as a confirm page.
after confirming the order, the ingredients in the database will be decreased automatically according to the dishes that have been ordered.
The history of past orders will also be visible on a dedicated page.
Printing the receipt
If you have lpr installed and configured with a compatible thermal printer, you will also receive a paper version of the receipt.
Forgotten password?
In the login page it is possible to recover a password without bothering the administrator,
after following the link under the login, a recovery page will appear and then an email will be sent to the email inserted in the recovery form.
The email contains a temporary link which will lead to a page to reset the password (the link is usable only in the same session of the user who requested the password recover).