Getaway
- Customer scans the QR code
- The server routes the customer to the restaurants login page
- As Soon as the customer logs in as a new user or as a returning customer The server checks the database and
- Authenticates the user and starts the session
- Server grabs the customer parameters generates a token number
- The customer is then routed to the token page the Token Page displays the unique token and the waiting time. thee Token page also has a order button when clicked It routes the customer to the menu page The menu page has a add button which adds items to a cart When the customer adds the cart to the order the customers database is updated which now also has items in the order column.
- Restaurants has a login page
- Once the Restaurant logs in
- The Index page shows the list of customers in the queue Server Reads through the db and display the list of all waiting customers. the index page also has a send button which would send message to the logged in customer when the table is ready. This in turn refreshes the page updates the page removing the customer from the list.
- The list has customer name which is a link to the customer show page
- The show page has customer Information Username, and order if any.