0% found this document useful (0 votes)
10 views

A_Food_Wastage_Reduction_App_based_on_Django_Python_Application

The document presents a Django-based web application aimed at reducing food wastage by connecting restaurants with individuals in need of leftover food. It outlines the app's functionalities, including user account management and real-time database operations, while emphasizing the importance of food waste management for sustainability. The research highlights the potential of mobile technology in addressing food waste issues and proposes a structured approach to developing such applications.

Uploaded by

bokadekars
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

A_Food_Wastage_Reduction_App_based_on_Django_Python_Application

The document presents a Django-based web application aimed at reducing food wastage by connecting restaurants with individuals in need of leftover food. It outlines the app's functionalities, including user account management and real-time database operations, while emphasizing the importance of food waste management for sustainability. The research highlights the potential of mobile technology in addressing food waste issues and proposes a structured approach to developing such applications.

Uploaded by

bokadekars
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Proceedings of the 3rd International Conference on Applied Artificial Intelligence and Computing (ICAAIC-2024)

IEEE Xplore Part Number: CFP24BC3-ART; ISBN: 979-8-3503-7519-0

A Food Wastage Reduction App based on Django


Python Application
2024 3rd International Conference on Applied Artificial Intelligence and Computing (ICAAIC) | 979-8-3503-7519-0/24/$31.00 ©2024 IEEE | DOI: 10.1109/ICAAIC60222.2024.10575000

D. Manoj Kumar R Arthi M.Gokulakrishnan


Department of Electronics and Department of Electronics and Department of Electronics and
Communication Engineering Communication Engineering Computer Engineering
SRM Institute of Science and SRM Institute of Science and SRM Institute of Science and
Technology, Ramapuram Campus Technology, Ramapuram Campus Technology, Ramapuram Campus
Chennai, India Chennai, India Chennai, India
[email protected] [email protected] [email protected]

T.Praveen Kumar S. Vejaysuriyaa


Department of Electronics and Department of Electronics and
Computer Engineering Computer Engineering
SRM Institute of Science and SRM Institute of Science and
Technology, Ramapuram Campus Technology, Ramapuram Campus
Chennai, India Chennai, India
[email protected] [email protected]

Abstract—In human community, the significant challenge leftover food at the end of the day, even when it is still
of food wastage stands out prominently. Skillfully handling perfectly acceptable to eat. Even with all that food being
food waste is essential as it has the power to bolster our wasted, some families hardly have enough money to buy
sustainability in terms of both finances and the healthy meals. They don't eat three meals a day, thus they
environment. We have determined that using web don't get adequate nutrition. Consequently, we made the
technology can help reduce food waste management. As decision to develop our app to connect the restaurant with
part of our suggested approach, we have developed a the unfortunate individuals. This way, at the end of the
Django Python app that lets users share and give leftover day, the unfortunate can pick up the food from the
food to people in need. This Django project provides users restaurant rather than throwing it away. To manage food
with the ability to create accounts, log in, browse available waste effectively, focus on prevention through careful
items, add items to their cart, remove items from the cart, meal planning and portion control, donate surplus edible
and log out. It relies on MySQL storage and utilizes a real-
food to local organizations, and compost or use anaerobic
time database for smooth operation.
digestion for inedible scraps.
Keywords—DJango, My Structured Query Language, II. PROPOSED WORKFLOW
Hyper-text Markup Language, Cascading Style Sheets, X-
operating system.
Design is a crucial component of the development stage
that goes into making a system, process, or gadget. It
entails specifying the specifics required for actualization
I. INTRODUCTION
on a physical level. Three technical activities comprise
the software design: design, coding, implementation, and
Applications for mobile phones have become widely
testing. These operations are carried out after the software
used in recent years [1, 2]. It is well known that the web
is the most widely utilized mobile platform; millions of requirements have been examined and defined. These
mobile devices are currently using the web in over 190 activities are crucial for the advancement and assessment
countries worldwide. Reducing food wastage is of the software. At this stage, the design tasks carry
imperative due to its significant environmental, significant weight as they necessitate decisions that will
economic, and social impacts. The web is the most directly shape the program's user-friendliness and
widely used mobile platform, and its user base is growing implementation process. These decisions also affect the
quickly since almost a million people buy new Web dependability and maintainability of the system. Design
devices every day and utilize them right away to access determines how well a piece of software or a system can
digital content including games, applications, and a translate the needs of the client. In order to promote
variety of other services [3]. As a result, we used Web quality during development, design is essential. It is a
Studio to create the "FoodReduction App," a web procedure that converts specifications into a software
application that will reach a larger audience because most representation. The first stage of the software design
people use web phones these days. Algorithms for image process is preliminary design, during which requirements
processing can perform better when noise is estimated. are converted into data. The proposed flow diagram is
Recently, massive amounts of food are wasted depicted in figure 1.
because many restaurants have a habit of throwing away

979-8-3503-7519-0/24/$31.00 ©2024 IEEE 1200


Authorized licensed use limited to: Maratha Mandal Engineering College - Belgaum. Downloaded on April 12,2025 at 06:35:19 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the 3rd International Conference on Applied Artificial Intelligence and Computing (ICAAIC-2024)
IEEE Xplore Part Number: CFP24BC3-ART; ISBN: 979-8-3503-7519-0

consistency. Presentation instructions can be kept


separate from HTML content either in an external file or
within the HTML document using CSS. Each HTML
element matching a CSS style rule is formatted
accordingly, eliminating the need for inline formatting
within HTML tags and promoting semantic HTML
markup.

C. MYSQL Server

As of July 2013, MySQL stood out as the most widely


utilized open-source client-server relational database
Fig.1 Flow Diagram management system (RDBMS) globally, ranking second
among all RDBMS platforms. Its name, MySQL,
A. Overview of the HTML originates from the daughter of Michael Widenius, one of
its co-founders. SQL, an acronym for Structured Query
HTML, also referred to as Hyper Text Markup Language, Language, serves as the primary means of interacting
serves as the standard markup language utilized in the with MySQL databases. The regulations governing the
creation of web pages. Together with CSS and JavaScript, MySQL development project, along with the GNU
HTML plays a pivotal role in constructing web pages and General Public License and certain proprietary
user interfaces for mobile and web applications. Web agreements, dictate the usage of its source code. Initially
browsers have the ability to parse HTML files and render backed by MySQL AB, a Swedish for-profit company,
them into either visual or audio representations of web MySQL is now part of Oracle Corporation. Premium
pages. As HTML primarily provides presentation cues editions offering additional features are available for
and semantically defines the structure of a website, it is exclusive usage.
classified as a markup language rather than a
programming language. Eliminating the need for inline D. PYTHON
formatting can be done by Cascading Style Sheets
(CSS),Semantic HTML,CSS Frameworks,Responsive Python is recognized for its potency and accessibility as a
Design,Separation of Concerns,Avoid Inline JavaScript, computer language. It offers efficient high-level data
Template Engines,Code Linters and Validators,Code structures and follows a straightforward yet powerful
Reviews object-oriented programming approach. With its elegant
syntax and dynamic typing, Python is particularly well-
suited for scripting and rapid application development
HTML elements form the basic components of an HTML across various platforms. The official Python website,
page, serving as the building blocks for its structure. They https://www.python.org, provides the extensive standard
allow for the embedding of images and diverse objects, as library and interpreter for free in either binary or source
well as the creation of interactive forms. HTML form, empowering users to share them as they wish.
facilitates the organization of content by defining the Moreover, the website hosts a wealth of third-party
structural semantics of text elements such as headers, Python modules, applications, tools, and additional
paragraphs, lists, links, quotes, and more. These elements documentation, enriching the Python ecosystem.
are recognized by tags enclosed in angle brackets, with
certain tags like <div> and <span> providing additional Python developers prioritize avoiding overoptimization
context to the document text, often encompassing further and do not apply fixes that provide slight speedups at the
tags as sub-elements. To promote semantic HTML, cost of obscurity in non-essential areas of the CPython
educate developers on its benefits for accessibility, SEO, reference implementation. When efficiency is crucial,
and code maintainability. Provide documentation and Python programmers can utilize just-in-time compilers
tools to support adoption, integrate semantic guidelines like PyPy or transfer crucial operations to extension
into coding standards, and lead by example in projects. modules written in languages like C. Another choice is
Cython, which uses C-level API calls to communicate
B. Cascading Style Sheets(CSS) directly with the Python interpreter and transforms
Python scripts into C.
CSS aims to separate a document's presentation, such as
layout and font choices, from its content. This division E. DJango
enhances content accessibility by allowing more
flexibility in specifying presentation characteristics. It A web framework called Django, which is built on
also reduces complexity in structural content, like tables Python, makes it simple to develop and run web
used solely for formatting before browsers consistently applications. Open source and free to use. Django uses an
supported CSS rendering. By storing CSS in a separate architecture paradigm called model-template-views, or
file, multiple HTML pages can share formatting, ensuring MTV. The non-profit Django Software Foundation (DSF)

979-8-3503-7519-0/24/$31.00 ©2024 IEEE 1201


Authorized licensed use limited to: Maratha Mandal Engineering College - Belgaum. Downloaded on April 12,2025 at 06:35:19 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the 3rd International Conference on Applied Artificial Intelligence and Computing (ICAAIC-2024)
IEEE Xplore Part Number: CFP24BC3-ART; ISBN: 979-8-3503-7519-0

in the US is responsible for maintaining it. Its main ➢ Register page


objective is to simplify the process of creating complex
websites that utilise databases. The framework strives for
rapid development, less code, and the idea of not
repeating oneself. These goals support flexibility and
reusability. The main language used in Django, including
for files, settings, and data models, is Python. Django also
offers an extra administrative interface that makes data
management simple. Django is used by a large number of
well-known websites, including Clubhouse, Nextdoor,
Bitbucket, Instagram, Mozilla, and Disqus.

III. RESULTS

➢ Launching page
Fig.4 Registration Page

Fig.2 Website homepage

Fig.5 Menu Page

➢ Login page

Fig.6 Dashboard

Fig.3 Login Page

Fig.7 Location Tracking

979-8-3503-7519-0/24/$31.00 ©2024 IEEE 1202


Authorized licensed use limited to: Maratha Mandal Engineering College - Belgaum. Downloaded on April 12,2025 at 06:35:19 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the 3rd International Conference on Applied Artificial Intelligence and Computing (ICAAIC-2024)
IEEE Xplore Part Number: CFP24BC3-ART; ISBN: 979-8-3503-7519-0

IV. CONCLUSION food system: A critical review." British Food Journal 123.8
(2021): 2907-2935.
This research focuses on the problem of food waste,
[12] Mazzucchelli, Alice, et al. "How to fight against food waste
which has important social and economic ramifications.
in the digital era: Key factors for a successful food sharing
On the other hand, we think that political restrictions and platform." Journal of Business Research 124 (2021): 47-58.
technical developments can help to minimize this waste.
In particular, food waste management can benefit greatly [13] Aierzhati, Aersi, et al. "Development of a mobile, pilot
from the use of mobile application technology. This effort scale hydrothermal liquefaction reactor: Food waste conversion
is a first step in creating a better system to cut down on product analysis and techno-economic assessment." Energy
everyday food waste. Achieving flexibility involves Conversion and Management: X 10 (2021): 100076
modular and scalable architectures, embracing standards
and open technologies, fostering collaboration, promoting [14] Ciccullo, Federica, et al. "Implementing the circular
economy paradigm in the agri-food supply chain: The role of
experimentation and learning, and prioritizing agility in
food waste prevention technologies." Resources, Conservation
decision-making and strategy refinement. and Recycling 164 (2021): 105114

REFERENCES [15] Annosi, Maria Carmela, et al. "Digitalization within food


supply chains to prevent food waste. Drivers, barriers and
[1] Talwar, Shalini, et al. "The dark side of convenience: How collaboration practices." Industrial Marketing Management 93
to reduce food waste induced by food delivery apps." British (2021): 208-220
Food Journal 125.1 (2023): 205-225.
[16] Bajželj, Bojana, et al. "The role of reducing food waste for
[2] Fraj-Andrés, Elena, et al. "Informative initiatives as a useful resilient food systems." Ecosystem services 45 (2020): 101140.
tool to raise awareness of food waste. An application to higher [17] Read, Quentin D., et al. "Assessing the environmental
education." International Journal of Sustainability in Higher impacts of halving food loss and waste along the food supply
Education 24.4 (2023): 840-858. chain." Science of the Total Environment 712 (2020): 136255

[3] Filimonau, Viachaslau, et al. "Food waste and its [18] Harvey, John, et al. "Food sharing, redistribution, and
management in the foodservice sector of a developing economy: waste reduction via mobile applications: A social network
An exploratory and preliminary study of a sample of restaurants analysis." Industrial Marketing Management 88 (2020): 437-
in Iraq." Tourism Management Perspectives 45 (2023): 101048 448.

[4] Ramanathan, Ramakrishnan, et al. "Motivations and [19] Hajjdiab, Hassan, et al. "A food wastage reduction mobile
challenges for food companies in using IoT sensors for reducing application." 2018 6th International Conference on Future
food waste: some insights and a road map for the Internet of Things and Cloud Workshops (FiCloudW). IEEE,
future." Sustainability 15.2 (2023): 1665. 2018

[5] Gallego-García, María, et al. "Recent advances on physical [20] Pryss, Rüdiger, et al. "Mobile crowdsensing services for
technologies for the pretreatment of food waste and tinnitus assessment and patient feedback." 2017 IEEE
lignocellulosic residues." Bioresource Technology 369 (2023): International Conference on AI & Mobile Services (AIMS).
128397. IEEE, 2017.

[6] TS, Deepti, and Shashikala BN. "Smart Food Wastage


Reduction Management System." Grenze International Journal
of Engineering & Technology (GIJET) 8.2 (2022).

[7] Nawab, Naeem A., and Hamid Raza Malik. "Solving Food
Wastage issues through BYOD application." 2022 Fifth
National Conference of Saudi Computers Colleges (NCCC).
IEEE, 2022.

[8] Shinde, Miss Neha Dipak, and Abhijeet Patil. "Designing a


mobile application for food wastage reduction." (2021).

[9] Aramyan, Lusine, et al. "Food waste reduction in supply


chains through innovations: a review." Measuring Business
Excellence 25.4 (2021): 475-492.

[10] Närvänen, Elina, Malla Mattila, and Nina Mesiranta.


"Institutional work in food waste reduction: Start-ups' role in
moving towards a circular economy." Industrial Marketing
Management 93 (2021): 605-616.

[11] Amicarelli, Vera, and Christian Bux. "Food waste


measurement toward a fair, healthy and environmental-friendly

979-8-3503-7519-0/24/$31.00 ©2024 IEEE 1203


Authorized licensed use limited to: Maratha Mandal Engineering College - Belgaum. Downloaded on April 12,2025 at 06:35:19 UTC from IEEE Xplore. Restrictions apply.

You might also like