We extend our hear elt gra tude to all those who have contributed to the
successful comple on of our minor project on the topic "Restaurant
Management System ".
First and foremost, we express our sincere gra tude to our mentor Mr. Anand
Mohan Pandey for his invaluable guidance, support and insigh ul feedback
throughout the dura on of this project. Their exper se and encouragement
have been instrumental in shaping our ideas and refining our work.
We would also like to express our gra tude to our university for providing us with
the necessary resources and facili es to complete this project.
Thank you all for being part of this endeavour and for your invaluable
contribu ons, which have played a significant role in the successful comple on
of our project.
This is to cer fy that the minor project en tled "Restaurant Management
System” from Rajarshi School of Management and Technology is a bonafide
work carried out by Gajendra Nath Tripathi, Praveen Vishwakarma and Sakshi
Singh of B.C.A 3rd year (2021-24) under my guidance and supervision. The project
fulfills the requirements as per involvement of various department, engaged in
experiments and gathered enough knowledge as per the syllabus of Mahatma
Gandhi Kashi Vidyapith.
Mr. Anand Mohan Pandey
Prof. incharge (mentor)
Rajarshi School Of Management and Technology
Introduc on
System Design
En ty- Rela onship Diagram Model (ERD)
Data Flow Diagram (DFD)
Func onality and Working
Technology Stack
Tes ng
Conclusion
References
INTRODUCTION OF
RESTAURANT MANAGEMENT SYSTEM
In an era marked by digital convenience and on-the-go lifestyles, the Restaurant
Management System emerges as a transforma ve solu on catering to the needs
of modern consumers. Developed as a web-based applica on, its primary
objec ve is to revolu onize the food ordering process by providing a seamless
pla orm for users to explore diverse culinary op ons, place orders effortlessly,
and execute secure online payments.
Here we are providing various works of our Restaurant Management System
such as:
When user visit the site, they can browse through our tantalizing menu
offerings with ease. For placing orders user need to create an account for
further processes.
Further in order processing, the user can add and delete items to the cart
and proceed to checkout for payment where they provide delivery details,
including address and contact informa on and select a payment method
integrated with the payment API and confirm the order by genera ng
unique OTP.
Now admin receives a no fica on about the new order along with its
details. The admin can view incoming orders and verify and assign a
delivery boy. Admin also monitors food sales, total orders, earnings, and
delivery boys' performance.
The delivery boy receives order details and OTP for verifica on from the
admin panel. Users can track delivery status and contact the delivery boy if
needed. Admin can track the delivery boy's loca on through the admin
panel.
The admin can ensure the successful comple on of order and user gives
the feedback in response for future use.
SYSTEM DESIGN
The system architecture of the Restaurant Management System consists of a
client-side interface and a server-side backend. The client-side interface is
developed using HTML, CSS, and JavaScript, while the server-side backend is
implemented using MongoDB, Node.js and Express.js with firebase
authen ca on .
Security Deployment
OWASP Best Practices HTTPS Docker Swarm/Kubernetes Fir ebase Hosting
Frontend Web Application
DevOps
CI/CD Pipelin e Docker Load Bala ncer Redis Cache Restaurant Listing Page Food Search Page
Backend Services
Geolocation Service
Kubernetes Order Service Delivery Service User Authentic atio n Service Restaurant Servic e Food Service Order Placement Page Delivery Tracking Page Geolocation API
Message Queue MySQL Database
Payment Gateway
RabbitMQ/Kafka Stripe or PayPal Restaurant Data Food Data
Order Data User Data
System Architecture of Restaurant Management System
The Front-End Architecture consists of user interface (UI), authen ca on and
authoriza on, menu display and ordering, checkout process, order confirma on
and tracking.
The Back-End Architecture consists of server-side logic, database management,
order management and integra on with external APIs, ensuring secure
authen ca on, smooth transac on processing, and seamless communica on
between various system components.
ENTITY- RELATIONSHIP MODEL
The ERD model illustrates the rela onships between different en es in the
database schema of the Online Food Ordering Restaurant System. It includes
en es such as Users, Restaurants, Orders, Menu Items, and Payments, along
with their respec ve a ributes and rela onships.
User
string user_id
string email
string phone_number
string social_media_accounts
string password
boolean is_verified
Places
Manages
Browses
Proceeds to Checkout
User_Portal Menu_Browsing
Order Checkout_Process
string user_portal_id string menu_browsing_id
string order_id string checkout_id
string user_id string user_id Gives Feedback
string user_id string user_id
string order_id string menu_item_id
string delivery_details string order_id
string order_history string customization_options
string payment_method string delivery_details
float total_spending int quantity
string status string payment_method
string account_settings float total_price
Delivers
Assigned to
Confirms Checkout
Provides
DeliveryPersonnel Feedback
Order_Confirmation
string delivery_personnel_id string feedback_id
Notifies Admin string confirmation_id
string name string order_id
string admin_id string checkout_id
string contact_info string delivery_personnel_id
Contains string name string order_id
string delivery_personnel_id int food_rating
string email string confirmation_otp
string name int delivery_rating
string confirmation_email
string contact_info string comments
Manages
Manages
Receives
Views
AdminDashboard
string admin_dashboard_id MenuItem
OrderNotification
string admin_id string menu_item_id
string notification_id
int total_orders string name
string order_id
float total_sales string description
boolean is_notified
int pending_orders float price
int delivery_progress
Includes
OrderItem
string order_item_id
string order_id
string menu_item_id
string customization_options
int quantity
float total_price
The En ty-Rela onship Diagram of Restaurant Management System
FUNCTIONALITY AND
WORKING OF THE SYSTEM
The Restaurant Management System offers the following key func onali es:
User Registra on/Authen ca on:
User visits the restaurant website.
If not logged in, the user can only browse the menu.
New users provide necessary details for registra on: name, email, phone
number, and address.
An email verifica on link with a one- me password (OTP) is sent to the
registered email.
User confirms their email by entering the OTP, a er which their account is
created.
Users can log in with their creden als.
Browsing and Ordering:
Once logged in, users can browse the menu, search for items, and
customize them (e.g., toppings, quan ty).
Users add items to the cart and proceed to checkout.
Checkout Process:
Users provide delivery details, including address and contact informa on.
They select a payment method integrated with the payment API and
confirm the order.
Order Placement and Confirma on:
Upon confirma on, users receive an order confirma on with a unique
OTP.
The order details, along with the OTP, are sent to the admin panel.
No fica on to Admin:
Admin receives a no fica on about the new order along with its details.
Admin Dashboard:
Admin can view incoming orders, verify and assign a delivery boy.
OTP is generated and sent to the delivery boy.
Admin monitors food sales, total orders, earnings, and delivery boys'
performance.
Delivery Process:
The delivery boy receives order details and OTP for verifica on.
Users can track delivery status and contact the delivery boy if needed.
Admin can track the delivery boy's loca on through the admin panel.
Delivery Status Updates:
Users can track the delivery status and contact the delivery boy if needed.
Admin monitors the delivery process and receives updates on delivery
status.
Order Delivery:
The delivery boy delivers the order to the user's specified loca on.
The user verifies the OTP received earlier with the delivery boy.
Feedback and Ra ng:
A er delivery, users can rate the food and delivery experience.
Admin receives feedback for improving service quality.
Feedback is stored for future improvements.
User Portal:
Users can view their order history, including past orders and total
spending.
They can contact delivery boys for updates or inquiries.
Admin Order Management:
Admin can track order status and delivery progress.
They can confirm or reject orders based on availability or other criteria.
Admin monitors earnings, total orders, and manages food items.
Adding New Food Items:
Admin can add new food items to the menu, making them available for
users to browse and order.
API Integra on:
Payment API handles secure transac ons.
Track data API monitors order details, delivery progress, and earnings.
Google Maps API provides loca on services for delivery tracking.
Restaurant Website Authentication Service Menu Service Cart Service Checkout Service Payment Service Order Service Admin Panel Delivery Service Delivery Boy Feedback Service User Portal Admin Dashboard Food Management Service Payment API Track Data API Google Maps API
User
Vis it res ta urant w ebsite
D isp lay m en u (if no t logge d in)
Browse menu
Log in
Request login
P rom pt for lo gin det ails
P rov id e lo gin d etails
A ut hent icate us er
A uthentic ation s uc cess ful
Display menu
Customize items
A dd it ems to cart
P roceed to chec kout
Request checkout
P rovide delivery d et ails
Request payment
Handle payment process
P lac e order
Order c onfirmed
S end order d etails
A ssign delivery
Generate OTP
Receive OTP
Provide OTP
Verify OTP
Delivery ass igned
S end deliv ery d et ails
Order confirmed
Trac k de livery status
Contact delivery boy
P rov ide d eliv ery s tat us
P rovide feedbac k and rating
Store f eedback
Feedbac k rec eiv ed
View order hist ory
D is play o rde r h is to ry
Contact delivery boy s
D isplay c ontac t det ails
View order s tatus
D isplay order status
C on f irm o r reje ct orde rs
Order s tatus updated
Add new food it ems
Food items added
Request payment
Handle secure trans act ion
M o nit or orde r d etails
P ro v ide orde r trac k in g
Trac k de livery loc at io n
P ro v ide de livery track in g
User
Restaurant Website Authentication Service Menu Service Cart Service Checkout Service Payment Service Order Service Admin Panel Delivery Service Delivery Boy Feedback Service User Portal Admin Dashboard Food Management Service Payment API Track Data API Google Maps API
The sequen al representa on of Restaurant Management System
TECHNOLOGY STACK
The technology stack used in the development of the Restaurant Management
System includes:
- Frontend:
ReactJS, Radex for state management and Tailwind for responsive design
- Backend:
Node.js
Express.js
MongoDB
-Authen ca on and Securi es:
JSON Web Tokens
Stripe/ Open Source payment gateway
-Development and hos ng:
Vercel
Render
-Version Controlling:
Git
TESTING
Thorough tes ng is conducted such as unit tes ng, integra on tes ng, user
acceptance tes ng to ensure the func onality, security, and usability of the
system.
Addi onally, other types of tes ng such as security tes ng, performance tes ng,
and regression tes ng may also be conducted to ensure the overall quality and
reliability of the system.
By conduc ng thorough tes ng throughout the development lifecycle,
developers can iden fy and fix issues early, ensuring that the Restaurant
Management System is robust, secure, and user-friendly before it is released to
customers.
In conclusion, the system design for our restaurant management system
presents a tailored solu on that caters directly to the needs and aspira ons of
restaurant owners. By understanding the intricacies of their opera ons and
challenges they face, we've cra ed a comprehensive system that not only
streamlines their day-to-day tasks but also empowers them to unlock new levels
of efficiency, profitability, and customer sa sfac on.
For restaurant owners, our system represents more than just a technological
solu on; it's a partner in their journey towards success. With features such as
intui ve menu management, seamless order processing, and real- me analy cs,
our system equips owners with the tools they need to op mize their opera ons,
make informed decisions, and stay ahead of the compe on.
Moreover, our commitment to customiza on ensures that each restaurant
owner can tailor the system to fit their unique brand iden ty, menu offerings,
and opera onal workflows. Whether it's a small family-owned eatery or a
bustling franchise, our system adapts to their specific needs, fostering a sense of
ownership and empowerment among owners.
Furthermore, by leveraging cu ng-edge technologies like the MERN stack,
Firebase authen ca on, and integra on with external APIs, we deliver a solu on
that not only meets the current needs of restaurant owners but also an cipates
future trends and challenges. This forward-thinking approach ensures that our
system remains relevant and adaptable in an ever-evolving industry landscape.
In essence, our system design is not just about selling a product; it's about
forging las ng partnerships with restaurant owners, suppor ng them in their
quest for excellence, and helping them realize their full poten al. With our
restaurant management system by their side, owners can confidently navigate
the complexi es of the hospitality industry, knowing that they have a trusted ally
driving their success.
The references or resources used during the development of this project are –
Online Resources
Ar ficial Intelligence (AI)
Documenta on or Documenta on of APIs/Frameworks
Official Documenta on for Technologies Used
Mentor Guidance
This mini project report provides an overview of the Online Food Ordering
Restaurant System, including its system design, func onality, implementa on
details, and tes ng. For further informa on or demonstra on of the project.