A table booking and food ordering app made with ASP.Net and JS. The app contains the interface for admin as well as the public from the same port itself.
The app is still in its alpha state, with bugs and security vulnerabilities as well.
-
For users who have not booked the table.
- User
- Once the app is up, access the Menu option in the Navbar.
- Using the + and - buttons provided select the quantity of the items you want.
- Click on Order! button at the bottom to place the order.
- Once the order is placed, the user will be redirected to a status page where they can see the OrderID, Time at which the order was placed and the current status of the Order.
- Admin
- Once the user places the order, Admin can use the Manage link in Navbar to see the order.
- The new order will be shown under the link, Orders.
- Select the new order from the list of all orders. It'll be in the bottom by default. (Sorting is WIP).
- Admin can change the order status from Placed to any of the appropriate selection from the drop down list.
- Once the option is selected, admin should Save the changes.
- User
- User can check the updated status change of the order by reloading the page. (AJAX WIP)
- User
-
For users who have booked the table.
- User
- Once the app is up, navigate to Book Table in the Navbar.
- Enter the number of customers who will be visiting the restaurant, any allergies, and time and date of booking. (Calender and Clock will be added soon)
- Please enter the bookingDateTime in this format : 11/06/2021 12:00:00
- Once the booking is registered, the user will be redirected to a status page where they can check the status of the order.
- Admin
- Manage > Booking
- Admin will be able to see all the bookings, and the current booking will be shown with a status as Pending.
- Admin can click on the Edit page to allote a table to the customer, as well as change the status to Confirmed/Cancelled.
- User
- Once admin confirms the booking, the text entry in the user's status page will change to an Order Food button.
- User clicks on the Order Button, and a hidden form field is sent to the landing page containing the booking ID as well.
- This hidden bookingID will be passed to the backend once the order is placed by the user.
- Remaining user interaction is same as mentioned in section (1)
- User
-
Admin Exclusive Features
- Admins can add, edit, remove any Food Item from the list.
- Almost all CRUD functionalities for the same is provided now.
- For the api-user to fetch the data, make sure your DB contains a user, and the user's detail is added to Client.cs under Models.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
- Once the order is delivered/served, the user will be presented with a page to rate the food.
- This review is appended to the existing item's rating.
- Once an order is completed the Order Count of the item will be incremented by 1.
- Authorize users.
BookingDateTime shows 01-01-0001 00:00:00 after the customer books the table
- Order button not hiding once the user scrolls to the bottom : Fixed
- 15-06-2021 : Admin modules are reachable through /Admin link, Manage options removed from User facing Layout.
- 21-06-2021 : UI updated, Payment with RazorPay integrated, Google Maps API integrated.
- 23-06-2021 : Web-API token authentication added.
- 24-06-2021 : FoodController and BookingsController are using http-client for fetching data.
- 24-06-2021 : Full CRUD of Bookings implemented with httpClient