Final Project Report
Final Project Report
You are reminded that there exist regulations concerning plagiarism. Extracts from these regulations
are printed below. Please sign below to say that you have read and understand these extracts:
(signature:)______________________ Date:
This header sheet should be attached to the work you submit. No work will be accepted without it.
Section 2.3: "The following broad types of offence can be identified and are provided as indicative examples…
Personation, where a substitute takes an examination or test on behalf of the candidate. Both
candidate and substitute may be guilty of an offence under these Regulations.
Bribery or attempted bribery of a person thought to have some influence on the candidate's
assessment.
Plagiarism, where the work or ideas of another are presented as the candidate's own.
1. Copying another student's work is an offence, whether from a copy on paper or from a
computer file, and in whatever form the intellectual property being copied takes, including text,
mathematical notation and computer programs.
2. Taking extracts from published sources without attribution is an offence. To quote ideas,
sometimes using extracts, is generally to be encouraged. Quoting ideas is achieved by stating an
author's argument and attributing it, perhaps by quoting, immediately in the text, his or her name
2
and year of publication, e.g. "e = mc (Einstein 1905)". A references section at the end of your
work should then list all such references in alphabetical order of authors' surnames. (There are
variations on this referencing system which your tutors may prefer you to use.) If you wish to quote
a paragraph or so from published work then indent the quotation on both left and right margins,
using an italic font where practicable, and introduce the quotation with an attribution.
Dedication
"This dissertation is dedicated to my family, friends, and especially my wife and mother, whose
unwavering support and love have been my guiding light through every challenge. I am deeply
grateful for your presence in my life."
Acknowledgements
"First and foremost, I want to express my sincere gratitude to Dr. Lochandaka
Ranathunga, the project supervisor, whose inspiration and enthusiasm greatly motivated and
contributed to the successful completion of this project. Additionally, I extend my thanks to
Esoft Metro Campus Colombo for providing an excellent background for this endeavour. Finally,
heartfelt appreciation goes to my family and friends for their patience and encouragement
throughout the project, especially during moments of difficulty."
Abstract
Urban school children in Sri Lanka face malnutrition due to expensive food and busy
lifestyles. This project addresses this by introducing a web app to enhance school lunch systems.
The app connects guardians, schools, consultants, and a food supplier providing an easy
way to order healthy affordable meals. Inspired by successful Western models, our approach
uses technology, data analytics, and a profitable business model to address malnutrition. Key
features include tools for informed decision making, real time growth tracking, allergy
awareness, user friendly interfaces, cost efficiency, convenient payments, and feedback channels.
The system has a simple structure with a user interface application logic and a database.
The project has achieved milestones, overcome challenges and formed partnerships. The next
phase involves testing, refining and expanding to more schools aiming to create a sustainable and
scalable model for improving urban school children's health and academic success in Sri Lanka.
consultants and midwives play a crucial role in offering consultations further enhancing the
Contents
1 Chapter 1 Introduction.....................................................................................................................1
1.1 Goals...........................................................................................................................................1
1.2 Motivation..................................................................................................................................1
1.3 Method........................................................................................................................................1
1.4 Overview.....................................................................................................................................1
2 Chapter 2 Background and Problem Statement.............................................................................2
2.1 Introduction...............................................................................................................................2
2.2 Literature Review......................................................................................................................2
2.3 Problem Statement....................................................................................................................2
3 Chapter 3 project management........................................................................................................3
3.1 Approach....................................................................................................................................3
3.2 Initial Project Plan.....................................................................................................................3
3.3 Problems and Changes to the Plan...........................................................................................3
3.4 Final Project Record..................................................................................................................3
4 Chapter 4 feasibility study................................................................................................................4
4.1 Time feasibility...........................................................................................................................4
4.2 Cost feasibility............................................................................................................................4
4.3 Scope feasibility..........................................................................................................................4
4.4 Technical feasibility...................................................................................................................4
4.5 Economic feasibility...................................................................................................................4
5 Chapter 5 design................................................................................................................................5
5.1 Introduction your choice of proposed network system...........................................................5
5.2 Hardware and software requirements.....................................................................................5
5.3 Evaluating of solutions..............................................................................................................5
6 Chapter 6 implementation................................................................................................................6
7 Chapter 7 testing and verification....................................................................................................7
8 Chapter 8 EVALUATION and CONCLUSION..................................................................................8
9 References...........................................................................................................................................9
10 Appendices....................................................................................................................................10
Table of figures
Here you should list captions of Figures followed by names, with page numbers.
Table of tables
Here you should list captions of Tables followed by names, with page numbers.
Abbreviations
A shortened or contracted form of a word or phrase, used to represent the whole,
as Dr. for Doctor, U.S. for United States, lb. for pound.
1 Chapter 1 Introduction
The school catering industry is super important because it makes sure students get good
food at school. It involves lots of things like making meals, planning menus, and taking care of
special diets. Lately, there's been more focus on making sure the food is healthy and fits different
diets. The industry has to follow rules from the government, deal with money limits, and keep up
with what students like to eat. Even though there are challenges like keeping costs down and
making sure the food is safe, the school catering industry keeps changing and trying new things
to give students tasty and nutritious meals while being efficient and eco friendly.
The project wants to help kids in Sri Lanka by making sure they have good food at school
and by creating a business that can keep doing this for a long time. But there are some big
challenges. First, many kids don't get enough healthy food, both at home and school. Second, it's
hard to make sure there's enough money to pay for all the good food, especially in places where
people don't have a lot of money. Third, it's tough to get all the fresh ingredients and keep the
food safe. Plus, using technology, making food that suits everyone, and following the rules make
things even trickier. The project needs to solve these problems to make sure kids get better food
To solve the problem of malnutrition in Sri Lankan schools and create a business that can
keep providing healthy lunches, need to use technology, work with local food suppliers, and
focus on making a profit. This means using a digital system to plan, order, and deliver meals, and
teaming up with nearby farmers and producers to get fresh ingredients. We also need to make
sure the business model is both affordable for families and profitable for the people making the
food. By being smart about costs, being efficient, and using local ingredients, can make sure kids
get better food, make the business work well, and help the environment too. Setting up these
solutions right and keeping an eye on how well they work will be important for making sure the
1.1 Goals
the goal of our project in the school catering industry is to establish a comprehensive
solution for providing nutritious meals to students in Sri Lankan schools. This involves
addressing key aspects such as menu planning, meal preparation, sourcing ingredients, and
ensuring food safety standards are met. By implementing this solution, we aim to improve the
overall quality of food provided to students, promote healthier eating habits, and establish a
sustainable business model that can continue providing nutritious meals in the long term.
● Pilot Project Focus
The primary goal is to conduct a focused test run of our web based food app in
collaboration with select private schools. Success in this pilot phase will serve as a model
for expanding the initiative to more schools in different regions.
● Success Module from Western Countries
Drawing inspiration from successful programs in Western countries, our project aims to
ensure that all students receive healthy meals at school. Emphasis is placed on replicating
the positive outcomes observed in Western nations to improve the health, well-being, and
academic performance of students in Sri Lanka.By adopting proven strategies from
Western models, we strive to implement a comprehensive approach to student nutrition in
Sri Lankan schools.
● Equality in Student Nutrition
Ensuring equitable access to nutritious meals for all students is fundamental to promoting
fair educational outcomes. Addressing disparities in student nutrition levels the playing
field, offering every student an equal chance to succeed academically.
● Profitable Business Model
While the primary focus is on combating malnutrition in schools, the project also aims to
establish a sustainable and profitable business model. Partnering with private schools
enables revenue generation while advancing the mission of improving student dietary
habits.
1.2 Motivation
We are inspired by successful initiatives in Western countries that have demonstrated the
transformative power of providing healthy meals in schools. Witnessing the positive impact on
students' health, academic performance, and overall well-being fuels our determination to
replicate these successes in Sri Lanka.
The web based project commenced with a careful analysis of system requirements, delineating
the functionalities necessary for both frontend and backend development. Leveraging React for
frontend development and Spring Boot Java for backend, with Java Hibernate for data mapping,
the developer ensured a robust and scalable architecture.
After identifying the requirements, the project was segmented into frontend and backend
components. React was employed for frontend development, offering a modern and efficient
framework for building user interfaces. Meanwhile, Spring Boot Java provided a powerful and
streamlined platform for developing RESTful APIs and handling backend logic.
Java Hibernate facilitated seamless data mapping between the application and MySQL database,
ensuring efficient storage and retrieval of information. Prior to database implementation, the
developer meticulously designed the database schema, considering factors such as data
relationships and optimization.
2 Chapter 2 Background and Problem Statement
In the background chapter of our report, we offer crucial context to understand our
proposed solution. This chapter is divided into three key sections: the Similar System
Introduction, Literature Review on the Topic, and the Problem Statement. In the Similar System
Introduction, we examine existing solutions to similar problems, discussing their strengths and
weaknesses. Following this, the Literature Review on the Topic summarizes relevant studies and
articles in our field, highlighting any gaps that our solution aims to address. Finally, the Problem
Statement clearly defines the specific issue we're tackling, explaining its importance and
providing evidence to support our assertions. Together, these sections provide a solid foundation
for explaining why our solution is the most suitable choice.
2.1 Introduction
The project addresses the pressing issue of malnutrition among urban school children in
Sri Lanka, along with challenges related to limited access to nutritious meals, financial viability,
supply chain logistics, technology integration, and diverse dietary preferences. The proposed
solution involves implementing a digital platform for meal planning and delivery, establishing
partnerships with local suppliers, and developing a profit-driven business model. Expected
positive outcomes include improved access to nutritious meals, enhanced financial viability for
catering providers, streamlined operations, support for local economies, adherence to regulatory
standards, and improved student health and well-being. However, potential challenges such as
initial investment costs, resistance to change, supplier reliability issues, pricing concerns, and the
need for ongoing monitoring must be addressed to ensure the long-term success and
Positive Outcomes:
● Improved access to nutritious meals for urban school children.
● Need for ongoing monitoring and adjustment to ensure long-term sustainability. Overall,
the proposed solution aims to address the identified
Overall, the proposed solution aims to address the identified problems by leveraging
technology, local partnerships, and a profit-driven approach. While positive outcomes such as
improved access to nutritious meals and enhanced financial viability are expected, potential
challenges and negative outcomes must also be considered and managed effectively to ensure the
In the project management chapter of our final report, we outline how the project was completed
within the specified timeframe. This chapter is divided into four key sections: the Approach to
the Project, the Initial Project Plan, Problems and Changes to the Program, and the Final Project
Record. We begin by explaining our overall strategy and methodology for managing the project.
Then, we present the initial plan, detailing the project scope, objectives, timelines, and resources.
Throughout the chapter, we discuss any challenges encountered and how we addressed them, as
well as any adjustments made to the project plan. Finally, we provide a comprehensive record of
the completed project, summarizing outcomes, lessons learned, and recommendations for future
projects.
3.1 Approach
In this one-year project, the developer carefully managed time by allocating specific
periods to each task, with research receiving extra focus. With a clear understanding of project
objectives, issues, and goals, the project plan was crafted to pinpoint problem areas and propose
effective solutions. Drawing connections to existing research, similarities, and differences were
identified. Given the project's deadline and defined requirements, the Waterfall methodology was
chosen as the development model. Following scope identification, the developer designed the
project plan using a Gantt chart and submitted the proposal, which was subsequently approved
by the supervisor. With the green light, development commenced as per the agreed-upon project
plan.
why choose the Waterfall methodology for development
After gathering all necessary application requirements, the developer designed a Gantt chart to
outline the project timeline. Below is the initial Gantt chart created for the requirement analysis
phase
This chart provides a visual representation of tasks, their durations, and their interdependencies
during the requirement analysis stage. It serves as a roadmap for completing each task within the
allocated time frame, ensuring efficient progress toward project goals.
The primary challenge that prompted the change in the development plan was the realization of
evolving industry standards and trends. Initially, Angular for web application development based
on its popularity and developer familiarity with the framework. However, upon further
assessment and discussions with industry experts, it became apparent that React has emerged as
the preferred choice for web development, offering advantages such as a more extensive
ecosystem and better community support.
Transitioning to React necessitated overcoming a learning curve and allocating additional time
for skill acquisition and adaptation. While this adjustment resulted in a minor delay of one week
in the project timeline, it was deemed necessary to ensure the project's alignment with current
industry practices and future scalability. Moreover, the decision to switch frameworks was
justified by the potential long-term benefits it offers, including enhanced marketability and
maintainability of the application.
Furthermore, while all project requirements were initially gathered and completed, ongoing
discussions with the supervisor revealed the need for minor adjustments to accommodate
evolving project needs and stakeholder feedback. This iterative approach ensures that the final
product meets the evolving requirements and expectations of all stakeholders, thereby justifying
the need for flexibility in the project plan.
In summary, the decision to change the development plan from Angular to React was driven by
the need to stay abreast of industry trends and standards, despite the challenges associated with
the transition. By embracing React and remaining open to minor adjustments in project
requirements, we aim to deliver a solution that is not only technically robust but also responsive
to the dynamic needs of our stakeholders and the broader industry landscape.
The Gantt chart presented above illustrates the culmination of the project plan, detailing the
completion dates of various tasks leading up to the final submission. pleased to report that the
developer successfully adhered to the outlined schedule, ensuring that all tasks were completed
on time and under project milestones.
4 Chapter 4 feasibility study
The feasibility study serves as a crucial tool in determining the viability of a proposed project or
program, ultimately guiding the decision on whether to proceed with its implementation. As an
integral part of the initial design phase, it aims to comprehensively assess the strengths and
weaknesses of the project, as well as the opportunities and threats present in the surrounding
environment. By evaluating the required resources and prospects for success, the feasibility study
provides valuable insights that inform strategic decision making.
In this chapter, we delve into the various facets of project implementation that necessitate careful
consideration during the feasibility evaluation process. Particularly for projects in their nascent
stages, feasibility analysis plays a pivotal role in ensuring that the project's objectives are not
only attainable but also financially viable and socially beneficial. The feasibility study is
structured into five main sections, each addressing critical aspects of the project's feasibility.
Time feasibility is indeed a critical aspect of any project, ensuring that it is completed within the
allocated timeframe. In the case of this one-year project, estimating the duration of various tasks
is essential for effective project planning and execution. However, unforeseen challenges such as
power cuts in Sri Lanka can pose significant obstacles to timely project completion.
The project scope, which includes research components, was initially estimated to be completed
within two to three months. Given the priority assigned to these research areas, the project tasks
were planned accordingly. However, as the project progressed, it became apparent that meeting
the planned timelines for certain tasks was challenging due to external factors beyond the
developer's control.
Despite these challenges, the developer demonstrated resilience and adaptability, managing to
navigate through the issues and maintain progress towards project goals. By effectively
addressing the obstacles and leveraging available resources, the developer completed the system
within the stipulated timeframe.
This highlights the importance of flexibility and problem-solving skills in project management,
particularly when facing unforeseen challenges. By effectively managing time constraints and
overcoming obstacles, the developer ensured the timely delivery of the project, ultimately
contributing to its overall success.
Assessing the costs and benefits associated with a project is crucial prior to seeking financial
assistance, as it helps determine the project's financial viability and potential for sustainable
returns. The expense evaluation aims to ascertain whether the projected project expenses can be
feasibly covered through revenue generation and other sources of funding, ensuring the project's
long-term financial health and viability.
This involves estimating the total expenses required to execute the project, encompassing various
components such as materials, labour, equipment, and overhead costs. Understanding the total
project cost is essential for budgeting and financial planning purposes.
Assessing the project's financial position involves analyzing its ability to generate revenue and
cover expenses over time. This includes evaluating factors such as anticipated income streams,
funding sources, and projected expenditures to determine the project's financial sustainability.
Cash Flow
Cash flow analysis examines the timing and magnitude of cash inflows and outflows associated
with the project. It helps identify potential cash flow gaps and liquidity issues, ensuring adequate
funds are available to meet financial obligations and project expenses as they arise.
Project Profitability
Evaluating project profitability involves estimating the expected returns or profits generated by
the project relative to its costs. This includes assessing metrics such as return on investment
(ROI), net present value (NPV), and internal rate of return (IRR) to gauge the project's financial
attractiveness and potential for generating positive returns.
The scope of this one-year duration project is to address the business problem of malnutrition
among urban schoolchildren in Sri Lanka through the development of a comprehensive school
catering solution. The project will prioritize research areas related to nutritional requirements,
menu planning, and food safety standards, allocating sufficient time and resources for thorough
investigation and analysis. Implementation tasks will be delineated based on priority, focusing on
the design and development of an innovative web-based application for managing school
catering operations efficiently.
Key Components
Nutritional Research
Conduct in-depth research on nutritional requirements and dietary guidelines for school-age
children, ensuring that meals provided meet recommended standards for health and well being.
Menu Planning
Develop a diverse and balanced menu tailored to students' nutritional needs and preferences,
taking into account cultural and dietary considerations.
Food Safety Standards
Establish stringent food safety protocols and guidelines to ensure the safe handling, preparation,
and storage of meals served in school cafeterias.
Design and develop a user-friendly web-based application for managing school catering
operations, including menu planning, ordering, and meal delivery logistics.
Stakeholder Engagement
Engage with project stakeholders, including school administrators, nutritionists, food suppliers,
and government agencies, to gather input, feedback, and support for project initiatives.
School Administrators
Responsible for overseeing catering operations and ensuring compliance with nutritional
guidelines and food safety standards.
Catering Staff
Involved in meal preparation, serving, and kitchen operations, utilizing the web-based
application to streamline workflow and manage resources efficiently.
Students
Beneficiaries of nutritious and balanced meals served in school cafeterias, contributing to their
overall health, well-being, and academic performance.
By defining a clear and concise project scope, the developer aims to ensure that project activities
remain focused on addressing the identified business problem effectively and efficiently. This
approach mitigates the risk of scope creep and ensures that project outcomes are aligned with
stakeholder expectations and project objectives.
4.4 Technical feasibility.
Technical feasibility is a crucial aspect of assessing the viability of a new product or service
offering. It involves evaluating whether the proposed system can be effectively implemented
using available tools, technology, equipment, staff, and logistics. By conducting technical
competency research, organizations can determine if they possess the necessary technical
resources to translate the concept into a fully functional and profitable application
This assessment helps identify potential challenges and obstacles that may arise during the
development and implementation phases, allowing for proactive problem-solving and risk
mitigation strategies. Additionally, technical feasibility analysis aids in long-term planning by
providing insights into how products and services may evolve before reaching the market.
In this school catering management system project, the developer has strategically chosen a
combination of technologies to efficiently manage and streamline catering operations. For the
backend infrastructure, Java Spring Boot has been selected, along with Hibernate for seamless
data mapping and MySQL as the database management system. Java Spring Boot's simplicity
and scalability, coupled with Hibernate's object-relational mapping capabilities, ensure efficient
backend services and effective database management.
On the frontend, React has been utilized as the primary JavaScript library, providing a modular
and component-based approach to building dynamic user interfaces. React's versatility and
performance make it an excellent choice for creating user-friendly and interactive frontend
experiences tailored to the needs of school administrators, catering staff, and other end users.
This technology stack offers a solid foundation for the school catering management system,
facilitating seamless integration between the frontend and backend components while ensuring
scalability, reliability, and ease of maintenance throughout the project lifecycle.
4.5 Economic feasibility
These assessments typically entail a thorough analysis of project costs, assisting organizations in
evaluating the operational expenses, potential benefits, and overall financial implications
associated with the project before committing financial resources. They serve as an impartial
project evaluation mechanism, enhancing project integrity by enabling decision-makers to assess
the economic viability and potential returns on investment for a proposed project. Moreover,
they aid decision-making by providing insights into whether a planned schema should be
implemented immediately or deferred based on the organization's current financial situation. This
proactive approach to financial planning ensures that resources are allocated effectively and that
projects are executed in a manner that maximizes economic benefits and aligns with
organizational goals.
5 Chapter 5 Design
The design phase is ideas into the plans for the school catering management system. Here, we'll
outline how the developer going to build it, what it will look like, and how it will work. And
discuss the steps taken to make sure it's easy to use, efficient, and meets everyone's needs. This
chapter focuses on the practical details of bringing our project to life through thoughtful planning
and creative problem solving.
The architecture diagram depicts the high-level design of the school catering system, illustrating
system. It illustrates the steps involved in placing meal orders, including selecting menu options,
The use case diagram provides a visual representation of the interactions between actors and the
school catering system. It identifies the various use cases or functionalities that actors can
perform within the system, such as ordering meals, scheduling appointments, and accessing
administrators, are depicted along with their roles and interactions with the system. The diagram
illustrates how users interact with the system to achieve specific goals, facilitating a
beginning with guardian registration and culminating in placing the order. The diagram
illustrates sequential steps, including viewing the menu options, selecting desired items,
customising the order as per dietary preferences, calculating the payment amount, making the
payment, and finally, confirming and placing the order. Each step in the process is visually
depicted, showcasing the flow of activities from menu selection to order completion. This
activity diagram provides clarity on the order workflow, guiding users through the process of
Activity
The activity diagram illustrates the process of a guardian providing feedback within the school
catering system, beginning with guardian registration and ending with adding feedback.
School admin enters BMI report
school catering system. Starting from the admin login, the diagram illustrates sequential steps
including accessing the BMI report generation feature, specifying parameters such as date range
or student criteria, retrieving BMI data from the system database, and generating the report.
The ER diagram presents the database schema for the school catering system, showcasing the
entities and their relationships. Key entities include 'Guardian,' 'Student,' 'Menu,' 'Order,'
'Feedback,' and 'BMI Data.' Relationships between entities are depicted, such as 'Guardian' being
associated with 'Student' through a one-to-many relationship, indicating that a guardian can have
multiple students. Similarly, 'Order' is related to 'Menu' in a many-to-many relationship,
signifying that multiple orders can contain multiple menu items. The ER diagram provides a
Seque
The sequence diagram illustrates the login process within the school catering system, showcasing
the interactions between the user and the system components. It begins with the user initiating
the login request by providing credentials. The system then verifies the credentials and
authenticates the user. Upon successful authentication, the system grants access to the user,
allowing them to navigate through the system's functionalities. The sequence diagram visually
represents the sequence of messages exchanged between the user and the system during the login
the school catering system, demonstrating the interactions between the user and the system
components. It begins with the user initiating the order by selecting menu items and customising
preferences. The system then calculates the total payment amount based on the selected items.
Upon confirming the order, the user proceeds to make the payment, providing payment details.
The system verifies the payment and confirms the successful transaction. The sequence diagram
visually represents the sequence of messages exchanged between the user and the system during
the order placement and payment process, providing a clear depiction of the interaction flow.
Place the order and payment
The sequence diagram illustrates the process of generating a BMI report by the school
admin within the school catering system, beginning with the admin logging in and selecting the
BMI report option. The admin then initiates a search for student BMI data by providing specified
criteria, such as date range or student ID. The system retrieves the relevant BMI data from the
database based on the admin's search parameters. Once the data is retrieved, the admin can
review and analyse it. If necessary, the admin can also enter new BMI data for students. Finally,
upon completing the data entry or review process, the admin generates the BMI report, which is
then presented by the system. The sequence diagram visually represents the sequence of
messages exchanged between the admin and the system during the BMI report generation
The login UI of the school catering system presents a clean and intuitive interface designed to
The guardian registration UI of the school catering system is designed to streamline the process
of onboarding new users with a user-friendly and intuitive interface. Upon accessing the
registration page, guardians are greeted with a clear and inviting layout, inviting them to create
an account. The UI typically features input fields for guardians to enter their personal
information, including their full name, email address, contact number, and residential address.
Additionally, guardians are prompted to create a username and password for accessing the
The guardian home page of the school catering system provides guardians with easy access to
essential features and information. It offers a user-friendly interface with clear navigation
options, including sections for viewing food menus, managing children's register details,
submitting feedback, processing payments, and tracking BMI details. Guardians can efficiently
browse menus, update children's information, provide feedback, make payments, and monitor
their children's health status, all from a centralised platform. This intuitive design prioritises
convenience and efficiency, ensuring a seamless experience for guardians as they manage meal-
related activities and monitor their children's well-being within the system.
User Interfaces Screenshots - School Admin BMI report
5.2 Hardware and software requirements
5.3 Evaluating of solutions
Solution evaluation in project analysis is the assessment of existing, or potential solutions.
Discuss how well your solution solves the problem.
6 Chapter 6 Implementation
The School Catering System is a web-based application designed to ensure students have access
to nutritious meals in school cafeterias. By recommending meals based on dietary preferences
and feedback, the system aims to promote healthy eating habits among students. This document
provides an overview of the system's implementation, including the technology stack, key
features, challenges faced, and future enhancements.
The school catering system utilized a robust technology stack, comprising Java, Spring Boot,
React, and MySQL, to craft a functional and user-centric application. Core features such as user
authentication, menu management, dietary preference tracking, and meal recommendation
algorithms were effectively implemented. These functionalities empower users to access
personalized meal suggestions tailored to their preferences, fostering a healthier dining
experience within school cafeterias.
Presentation Layer (React Frontend):
Developers use React to build a user-friendly website where users can access friendly interfaces
Database (MySQL):
Review of Technologies
Java 17
Java is the primary programming language used in the backend development of the School
catering system.
Java 17, being the latest LTS release, provides enhanced features, performance improvements,
and security updates, ensuring that the system is robust and efficient.
React 18
React serves as the foundational framework for crafting the frontend of the School catering
system, offering users an engaging and seamless interface.
With React 18, the latest iteration, developers gain access to a host of cutting-edge features,
optimizations, and performance enhancements. This update enriches the development process,
empowering the creation of dynamic and responsive frontend applications with improved
efficiency and scalability.
REST (Representational State Transfer)
RESTful web services are used to create the communication interface between the frontend and
backend of the meal recommendation system.
Using RESTful principles, the system allows different components to communicate with each
other over the internet, providing seamless interaction between the user interface and backend
services.
Hibernate
Spring Data JPA is used for object-relational mapping in the backend of the meal
recommendation system, enabling the mapping of object-oriented domain models to relational
databases.
MySQL 8.4.0
MySQL is used as the database management system for the meal recommendation system,
storing and managing all data related to restaurants, meals, users, and system configurations.
With its proven performance, reliability, and ease of use, MySQL ensures efficient and reliable
data storage and retrieval, supporting the seamless operation of the meal recommendation
system.
Implementation discussion
● Technology Stack:
Backend: Java and Spring Boot were chosen for the backend development of the School
catering system. Java provided the robustness and scalability required for backend services,
while Spring Boot simplified the setup and development process.
Frontend: React was used to develop the frontend of the system, providing a dynamic and
responsive user interface. React component-based architecture and an extensive feature set
facilitated the creation of a modern and intuitive user interface.
RESTful API: RESTful APIs were implemented using Spring Boot to enable communication
between the frontend and backend components of the system. These APIs allowed for seamless
data exchange and interaction between different parts of the application.
● Implementation Process
The backend services were implemented using Java and Spring Boot, following a layered
architecture consisting of the presentation layer, service layer, DAO (Data Access Object) layer,
and database layer (MySQL).
RESTful APIs were developed to enable communication between the frontend and backend
components of the system. These APIs provided endpoints for retrieving restaurant and meal
data, user authentication, and other essential functionalities.
User Authentication and Authorization: Implemented using Spring Security, ensuring that only
authenticated users have access to the system's resources.
Conclusions
The implementation phase involved leveraging a robust technology stack, including Java, Spring
Boot, and React, to develop a functional and user-friendly application. The backend services
were built using Java and Spring Boot, following a layered architecture that included the
presentation layer, service layer, DAO layer, and database layer (MySQL).
RESTful APIs were implemented to enable seamless communication between the frontend and
backend components of the system, facilitating data exchange and interaction. Key features such
as user authentication, and sentiment analysis were successfully implemented.
Throughout the implementation process, challenges such as the technological learning curve and
integration complexity were effectively addressed through close collaboration, thorough testing,
and continuous learning.
Looking ahead, the project has the potential for future improvements and scalability.
Enhancements such as improving the user interface design and integrating additional features can
further enhance the system's functionality and user experience.
Overall, the school catering system project has demonstrated the effective use of technology to
address real-world challenges and provide users with a valuable and user-friendly solution for
making informed dining decisions.
7 Chapter 7 Testing and Verification