CGB1121 – PYTHONPROGRAMMING
PROJECT REVIEW-1
Department of Computer Science and Engineering
Academic Year: 2024 – 2025 (Even Semester)
Register Number :927624BIT017
Name :BOOPATHI M
Year : I
Semester : II
Section : A
Date :07.04.2025
1
2.
Title of theProject
CGB1121 – PYTHON PROGRAMMING –PROJECT REVIEW 1
2
RECEIPE RECOMMENDED APP
USING PYTHON
3.
Abstract
CGB1121 – PYTHONPROGRAMMING –PROJECT REVIEW 1
3
The Recipe RecommendationWeb Application is developed using Python and
the Flask framework.This application helps users find suitable recipes based on
the ingredients they have at home. Users simply enter a list of ingredients into a
web form, and the system suggests matching recipes from a predefined recipe
database.The core logic uses a simple ingredient-matching algorithm to compare
user input with available recipes.The front-end is designed using HTML and CSS
to provide a clean and user-friendly interface.This project is highly useful for
individuals who want to avoid food waste, save time, and explore new recipes
without needing special ingredients. It is ideal for students, homemakers, and
working professionals.This application also promotes smart cooking by utilizing
common ingredients and suggesting healthy, easy-to-make dishes. It demonstrates
the practical use of Python in web development and real-life problem-solving.
4.
Abstract with CO/POMapping
CGB1121 – PYTHON PROGRAMMING –PROJECT REVIEW 1
4
Abstract CO POs PSO
The Recipe RecommendationWeb Application is developed using Python
and the Flask framework.This application helps users find suitable recipes
based on the ingredients they have at home. Users simply enter a list of
ingredients into a web form, and the system suggests matching recipes from
a predefined recipe database.The core logic uses a simple ingredient-
matching algorithm to compare user input with available recipes.The front-
end is designed using HTML and CSS to provide a clean and user-friendly
interface.This project is highly useful for individuals who want to avoid food
waste, save time, and explore new recipes without needing special
ingredients. It is ideal for students, homemakers, and working professionals.
This application also promotes smart cooking by utilizing common
ingredients and suggesting healthy, easy-to-make dishes. It demonstrates the
practical use of Python in web development and real-life problem-solving.
5.
Introduction
CGB1121 – PYTHONPROGRAMMING –PROJECT REVIEW 1
5
This project is a Recipe Recommendation App
developed using Python and Flask. It helps users find recipes
based on the ingredients they have at home. Users enter
ingredients, and the app suggests matching recipes from a
built-in database.The app is easy to use, saves time, and
helps reduce food waste.
6.
Python Programming -Concepts Used
CGB1121 – PYTHON PROGRAMMING –PROJECT REVIEW 1
6
Python Programming
Used for backend logic and handling user input.
Flask Framework
A lightweight web framework used to create the web application.
HTML & CSS
Used to build the front-end interface (form design, styling, and layout).
String Matching
The app compares user-entered ingredients with recipe ingredients to
find
matches.
List and Dictionary Operations
Recipes and ingredients are stored using Python dictionaries and lists
for easy access and searching.
Web Forms
Used to collect user input through an HTML form..
Condition Checking
To find if any ingredient entered by the user matches a recipe.
7.
Proposed Architecture
CGB1121 –PYTHON PROGRAMMING –PROJECT REVIEW 1
7
The proposed architecture of the Recipe Recommendation App is based on a simple client-server model using
Python and Flask. Below are the main components:
User Interface (Front-End)
1. Built using HTML and CSS.
2. Provides a form for users to input ingredients.
3. Displays the list of recommended recipes.
Flask Web Server (Back-End)
4. Receives user input from the web form via HTTP POST request.
5. Processes the input and performs ingredient matching using Python.
6. Sends back the list of matched recipes as a response.
Recipe Database
7. A simple Python dictionary stores recipes and their ingredients.
8. Used for quick lookup and comparison based on user input.
Recipe Matching Logic
9. Compares each recipe's ingredients with the user’s list.
10. Recommends recipes that have at least one matching ingredient.
8.
Proposed Architecture -Description
CGB1121 – PYTHON PROGRAMMING –PROJECT REVIEW 1
8
The app follows a basic client-server architecture using
Python and Flask. Users enter ingredients through a web
form built with HTML and CSS.The Flask server receives
the input, processes it, and matches it with recipes stored in
a Python dictionary. Matching recipes are then displayed to
the user.This architecture is simple, fast, and easy to
understand.
9.
List of Modules
CGB1121– PYTHON PROGRAMMING –PROJECT REVIEW 1
9
User Input Module
Flask Web Module
Recipe Database Module
Recipe Matching Module
Result Display Module
Frontend Interface Module
10.
Description of Modules
CGB1121– PYTHON PROGRAMMING –PROJECT REVIEW 1
10
User Input Module
Accepts ingredients entered by the user through a web form.
Flask Web Module
Handles routing, HTTP GET and POST requests, and connects front-end
with back-end logic.
Recipe Database Module
Stores recipes and their ingredients using a Python dictionary.
Recipe Matching Module
Compares user input with available recipes and finds matches.
Result Display Module
Displays recommended recipes or a “No matching recipes found” message
to the user.
Frontend Interface Module
Built with HTML and CSS to create a simple, clean, and user-friendly layout.