Wednesday, April 25, 2018

Food Ordering System with SpringBoot

Hello Everyone,

From this post I will present you the API plan which was created to make a new application.

This system provides functionalities for customers to place their orders and “Cater for You Service” restaurant will fulfill the need.

Execution Order
First, when the customer visits the website of the restaurant he/she need to log in to place any order. For that login screen will be provided. If the customer is not a registered customer, he/she need to register with the system. Every component is loosely coupled to each other. 

After a successful login, customers will be prompted with the food list, which is generated through the REST API service.


Customers can choose the food item and quantity. To place the order customer need to provide the relevant personal details for a successful delivery. Meanwhile system updates and notifies the kitchen and stock.


Customers can choose their own payment method from credit card or via the phone. That request will be transferred to the ESB Enterprise integrator and through that, relevant dummy services will be invoked from the abstract layer service.


After a successful response from the service, customers can select their preferred payment confirmation receiving method out of receiving SMS or an email.


For each Rs.100, one loyalty point is added to their total tally and they can use them when it reaches more than 100 points to buy food.


Additionally another dummy service is implemented for the admin to select a customer on weekly basis, to be awarded as a winner in receiving priceless experience.



Functionalities for the Customer
o   Create an account
o   Log in to their account
o   Navigate through the restaurant’s menu
o   Select items from the menu
o   Add items to their current order
o   Review their current order
o   Provide payment details
o   Receive confirmation in the form of order number
o   View order placed
Functionalities for the Admin
o   Add/Update/Delete food item from the menu
o   Update price for a given food item
o   Update additional information(photo, description)
o   Select a winner on weekly basis


Let's meet again with drug management coding part.Happy coding :)



©Copyright Viraj Wickramasinghe.


No comments:

Post a Comment