Our main goal for that lesson was to create an online reservation system for a restaurant. The application is going to have two roles, the role of administrator – employee and customer. Each role is going to have different rights. Below you can see the basic permissions per role but also some more functions that I added to both roles:
Employee Rights
- Set the number of tables in the restaurant.
- Available seats per restaurant table.
- Days and hours where the restaurant will be open.
- Be able to see customers reservations at any time for any date he wants.
- Be able to book for a customer (including date and time)
- To be able to see in addition to customer reservations and the corresponding reserved tables.
- Processing of personal data of the employee
- Edit reservations in order to be able to change the details of a reservation or even cancel it
- Add a new customer
- Print a reservation
Customer Rights
- To be able to register in the system from a registration form.
- Be able to access the system from a login form.
- They will be able to see their previous visits to the restaurant.
- To submit a reservation request and this should be done automatically after the relevant checks or to submit a reservation request and wait for approval from the administrator.
- Processing of personal data such as contact phone, email etc.
- Processing of customer reservations, where any change is first checked before validation.
- Print a reservation