You are on page 1of 44

Royal Education Society’s

College of Computer Science and Information


Technology, Latur.

Affiliated to
Swami Ramanand Teerth Marathwada University, Nanded.

A Project Report On

Bakery Shop Management System

Submitted for the award of degree of

Bachelor of Computer Applications

By:
Vivek Deepak Kakade 1: Seat No. ZI4933
Rameshwar Madhukar Suryawanshi 2: Seat No. ZI5088
Virbhadra Nivrutti Sude 3: Seat No. ZI5086

In
Year: 2021 – 2022

1
Royal Education Society’s
COLLEGE OF COMPUTER SCIENCE AND INFORMATION
TECHNOLOGY, LATUR.

CERTIFICATE

This is to certify that the project entitled “BAKERY SHOP MANAGEMENT


SYSTEM” has been carried out by 1) Vivek Deepak Kakade 2) Rameshwar
Madhukar Suryawanshi 3) Virbhadra Nivrutti Sude under my guidance in partial
fulfillment of the degree i.e., Bachelor of Computer Applications of SRTMU,
Nanded during the academic year 2021-2022.

Mr. Jadhav Rutuj Dr. D. H. Mahamuni


Guide Head
Department of Computer
Science or Application

2
ACKNOWLEDGEMENT

We would like to convey our gratitude to Dr. N. S. Zulpe, Principal of


College of Computer Science and Information Technology, Latur who gave
us necessary information and guidance for project.

We are grateful to Swami Ramanan Teerth Marathwada University,


Nanded for giving an opportunity to deliver project.

We would like to thank Project In-Charge and Project Guide Mr. Rutuj
Jadhav who guided us through doing these project development process,
provided with in valuable advice, helped using difficult periods and provided
practical assistant for our project. Their willingness to motivate us contributed
tremendously to the success of this project.

We would like to express our special thanks of gratitude to our Head of


the Department of Computer Application Dr. D. H. Mahamuni who helped
us a lot in finalizing this project.

Besides we would like to thank all staff members who helped us by


giving advice and providing equipment which we needed.

Last but not in least we would like to thank all who helped and motivated us.

With Sincere Thanks,

1) Vivek Deepak Kakade


2) Rameshwar Madhukar
Suryawanshi
3) Virbhadra Nivrutti Sude

3
Index

Sr. No. Topic Name Page No.


1 Abstract 5
2 Introduction 6
2.1 Project Overview 6
2.2 Project Plan (Gantt chart) 7
2.3 Hardware Requirement 8
2.4 Software Requirement 9
2.5 Front End 10
2.6 Back End 11
3 System Design 12
3.1 Database Design (Tables Schema) 12
3.2 E-R Diagram 13
3.3 Data Flow Diagram (First Level) 14
4 Form Design 15
5 Coding 25
5.1 Database Connectivity 40
6 Future scope of project 41
7 Conclusion 42
8 Bibliography: 43
8.1 Book(s) 43
8.2 Website(s) 44

4
Abstract:
Every organization, whether big or small, has challenges to overcome and
managing the information of Customer, Bakery Shop, Bakery, Company, Bakery
Type. Every Bakery Shop Management System has different bakery Shop needs;
therefore, we design exclusive employee management systems that are adapted
to your managerial requirements. This is designed to assist in strategic planning,
and will help you ensure that your organization is equipped with the right level
of information and details for your future goals. Also, for those busy executives
who are always on the go, our systems come with remote access features, which
will allow you to manage your workforce anytime, at all times. These systems
will ultimately allow you to better manage resources.

5
Introduction:

Project Overview:
The " Bakery Shop Management System" has been developed to override the
problems prevailing in the practicing manual system. This software is supported
to eliminate and, in some cases, reduce the hardships faced by this existing
system. Moreover, this system is designed for the particular need of the company
to carry out operations in a smooth and effective manner.

The application is reduced as much as possible to avoid errors while entering the
data. It also provides error message while entering invalid data. No formal
knowledge is needed for the user to use this system. Thus, by this all it proves it
is user-friendly. Bakery Shop Management System, as described above, can lead
to error free, secure, reliable and fast management system. It can assist the user
to concentrate on their other activities rather to concentrate on the record keeping.
Thus, it will help organization in better utilization of resources.

6
Project Plan (Gantt chart):

Sr.no Task Name 4-Apr 11-Apr 25-Apr 9-May 15-May

1 Requirement
Gathering

2 Planning

3 Designing

4 Coding

5 Testing and
Deployment

7
Hardware Requirement:

1) Processor : i3 3rd gen or above


2) RAM : 4GB and above
3) Hard Disk : 160 GB or above
4) Input device : keyboard, Mouse
5) Output device : Monitor or LCD/LED, Projector

8
Software Requirement:

 Frontend-IDE: Sublime Text Editor


 Language: HTML, CSS, JavaScript, jQuery, Bootstrap, PHP, SQL
 Browser: Chrome
 Backend-Database: MySQL

9
Front End <IDE and Programming Lang>:

1. Frontend-IDE: Sublime Text Editor


2. Language: HTML, CSS, JavaScript, jQuery, Bootstrap

10
Back End <Database>:

Back-end: MYSQL

How to Run
Requirements

 Download and Install any local web server such as XAMPP/WAMP.


 Download and Extract the source code zip file. (download button is located
below)

Installation

1. Open the XAMPP/WAMP's Control Panel and start


the "Apache" and "MySQL".
2. If you are using XAMPP, copy the extracted folder of source code and paste it
into the XAMPP's "htdocs" directory. And if you are using WAMP, paste the
folder inside the "www" directory.
3. Open a web browser and browse the system.
[http://localhost/bakery/index.php]

Note: The web application will automatically create its own database just make
sure the name "sude _bakery" does not exist yet or you can change the also
the DB name programmatically, the file for configuration is known
as "connection.php".

11
System Design:

Database Design (Tables Schema)

12
ER Diagram:

13
DFD:

14
Form Design:

15
16
17
18
19
20
21
22
23
24
Coding:
<?php
session_start();
require 'connection.php';
$conn = Connect();

?>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,
initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<title>Home | Sude Bakery</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/prettyPhoto.css" rel="stylesheet">
<link href="css/price-range.css" rel="stylesheet">
<link href="css/animate.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">

25
<link href="css/responsive.css" rel="stylesheet">

<link rel="shortcut icon" href="images/ico/favicon.ico">


<link rel="apple-touch-icon-precomposed" sizes="144x144"
href="images/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114"
href="images/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72"
href="images/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed"
href="images/ico/apple-touch-icon-57-precomposed.png">
</head>

<body>

<header id="header">

<div class="header-middle">
<div class="container">
<div class="row">
<div class="col-md-4 clearfix">
<div class="logo pull-left">
<a href="index.html"><img src="images/home/logo.png"
alt="" /></a>

26
</div>

<div class="btn-group pull-right clearfix">

</div>
</div>
<div class="col-md-8 clearfix">
<div class="shop-menu clearfix pull-right">

<h1 style=" color: #5AFF15;font-weight: 300">Sude


Bakery</h1>

</div>
</div>
</div>
</div>
</div>

<div class="header-bottom">
<div class="container">
<div class="row">
<div class="col-sm-9">

27
<div class="mainmenu pull-left">
<ul class="nav navbar-nav collapse navbar-collapse">

<li><a href="index.php" class="active" style="font-weight:


400"><i class="fa fa-star"></i> Home</a></li>
<li><a href="mobile.php" style="font-weight: 400"><i
class="fa fa-star"></i> Pizza & Burger</a></li>
<li><a href="desktop.php" style="font-weight: 400"><i
class="fa fa-star"></i> Cakes & Bread</a></li>
<li><a href="laptop.php" style="font-weight: 400"><i
class="fa fa-star"></i> Breakfast & Snacks</a></li>
<?php if(isset($_SESSION['login_user2'])) {?>

<li><a href="cart1.php" style=" color:#dddcda;font-weight:


400"><i class="fa fa-lock" style="color:#dddcda;"></i>Cart
(<?php
if(isset($_SESSION["cart"])){
$count = count($_SESSION["cart"]);
echo "$count";
}
else{
echo "0";
}
?>)</a></li>

28
<li><a href="logout_u.php" style="color: color:#dddcda;font-
weight: 400"><i class="fa fa-lock"
style="color:#dddcda;"></i> Logout</a></li>

<?php }else{ ?>

<li><a href="customerlogin.php" style="color:


color:#dddcda;font-weight: 400"><i class="fa fa-lock"
style="color:#dddcda;"></i> Login</a></li>
<?php

}
?>

</ul>
</div>
</div>
<div class="col-sm-3">
<div class="search_box pull-right">
<input type="text" id="myInput" onkeyup="myFunction()"
placeholder="Search"/>
</div>
</div>

29
</div>
</div>
</div>
</header>

<section id="slider">
<div class="container">
<div class="row">
<div class="col-sm-12">
<div id="slider-carousel" class="carousel slide" data-
ride="carousel">
<ol class="carousel-indicators">
<li data-target="#slider-carousel" data-slide-to="0"
class="active"></li>
<li data-target="#slider-carousel" data-slide-to="1"></li>
<li data-target="#slider-carousel" data-slide-to="2"></li>
</ol>

<div class="carousel-inner">
<div class="item active">
<div class="col-sm-6">
<h1><span >Pizza &</span> Burger</h1>
<h3 style=" color: skyblue;font-weight: 300">Handpicked
For You</h3>
30
<p> </p>

</div>
<div class="col-sm-6">
<img src="v1.jpg" class="girl img-responsive" style="max-
height:320px;" alt="" />

</div>
</div>
<div class="item">
<div class="col-sm-6">
<h1><span >Cakes &</span> Bread</h1>
<h3 style=" color:skyblue;font-weight: 300">Happy
Customers, Happy Us</h3>
<p> </p>

</div>
<div class="col-sm-6">
<img src="v2.jpg" class="girl img-responsive" style="max-
height:320px;" alt="" />

</div>
</div>

31
<div class="item">
<div class="col-sm-6">
<h1><span >Breakfast &</span> Snacks</h1>
<h3 style=" color:skyblue;font-weight: 300">Let's Get
Started</h3>
<p></p>

</div>
<div class="col-sm-6">
<img src="a3.jpg" class="girl img-responsive" style="max-
height: 320px;" alt="" />

</div>
</div>

</div>

<a href="#slider-carousel" class="left control-carousel


hidden-xs" data-slide="prev">
<i class="fa fa-angle-left"></i>
</a>
<a href="#slider-carousel" class="right control-carousel
hidden-xs" data-slide="next">
<i class="fa fa-angle-right"></i>
32
</a>
</div>

</div>
</div>
</div>
</section>

<section>
<div class="container">
<div class="row">

<div class="col-sm-12 padding-right">


<div class="features_items" id="myTable">

<h2 class="title text-center">Items for you</h2>

<?php

$conn = Connect();

$sql = "SELECT * FROM products WHERE options =


'ENABLE' ORDER BY RAND()

33
LIMIT 20";
$result = mysqli_query($conn, $sql);

if (mysqli_num_rows($result) > 0)
{
$count=0;

while($row = mysqli_fetch_assoc($result)){
if ($count == 0)
echo "<div class='row'>";

$sql1 = "SELECT * FROM user WHERE


cid='".$row['F_ID']."'";
$result1 = mysqli_query($conn, $sql1);
$row1 = mysqli_fetch_assoc($result1);

?>
<div class="col-sm-4 amit" style="margin-left: auto;" >
<div class="product-image-wrapper">
<div class="single-products">
<div class="productinfo text-center">
<img src="<?php echo $row["images_path"]; ?>"
style="width:300px;height: 300px;" alt="" />

34
<h2 style="font-weight: 300">Rs:<?php echo $row["price"];
?></h2>
<p><?php echo $row["name"]; ?></p>
<a href="#" class="btn btn-default add-to-cart"><i class="fa
fa-shopping-cart"></i>Add to cart</a>
</div>
<div class="product-overlay">
<div class="overlay-content">
<h2><?php echo $row["price"]; ?></h2>
<p id="p_name"><?php echo $row["name"]; ?></p>
<form method="post"
action="cart1.php?action=add&id=<?php echo $row["F_ID"];
?>">
<input type="hidden" name="quantity" value="1">
<input type="hidden" name="hidden_name" value="<?php
echo $row["name"]; ?>">
<input type="hidden" name="hidden_price" value="<?php
echo $row["price"]; ?>">
<input type="hidden" name="hidden_img" value="<?php
echo $row["images_path"]; ?>">

<button type="submit" name="add" class="btn btn-default


add-to-cart"><i class="fa fa-shopping-cart"></i>Add to
cart</button>

35
</form>
</div>
</div>
</div>

</div>
</div>

<?php
$count++;
if($count==4)
{

$count=0;
}
}
?>

<?php
}
else
{
36
?>

<div class="col-sm-4 amit" >


<center>
<label style="margin-left: 5px;color: red;">
<h1>Sorry... No item is available.</h1> </label>
<p>Please order after sometime...! </p>
</center>

</div>
<?php

?>
</div>
</div>
</div>
</section>

<script>
function myFunction() {
var input, filter, table, tr, td, i, txtValue;

37
input = document.getElementById("myInput");
filter = input.value.toUpperCase();
table = document.getElementById("myTable");
tr = table.getElementsByClassName("amit");
console.log(tr);
for (i = 0; i < tr.length; i++) {

td = tr[i].getElementsByTagName("p")[0];
if (td) {
txtValue = td.textContent || td.innerText;
if (txtValue.toUpperCase().indexOf(filter) > -1) {
tr[i].style.display = "";
} else {
tr[i].style.display = "none";
}
}
}
}
</script>

<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.scrollUp.min.js"></script>
38
<script src="js/price-range.js"></script>
<script src="js/jquery.prettyPhoto.js"></script>
<script src="js/main.js"></script>
</body>
</html>

39
Database Connectivity
<?php
function Connect()
{
$dbhost = "localhost";
$dbuser = "root";
$dbpass = "";
$dbname = "sude_bakery";

$conn = new mysqli($dbhost, $dbuser, $dbpass, $dbname) or die($conn-


>connect_error);

return $conn;
}
?>

40
Future scope of project:
In a nutshell, it can be summarized that the future scope of the project circles
around maintaining information regarding: We can add printer in future. We can
give more advance software for Bakery Shop Management System including
more facilities accessible worldwide. We will host the platform on online servers
to make it Integrate multiple load balancers to distribute the loads of the system.
Create the master and slave database structure to reduce the overload of the
database queries. Implement the backup mechanism for taking backup of
codebase and database on regular basis on different servers.

41
Conclusion:

Our project is only a humble venture to satisfy the needs to manage their project
work. Several user-friendly coding have also adopted. This package shall prove
to be a powerful package in satisfying all the requirements of the school. The
objective of software planning is to provide a frame work that enables the manger
to make reasonable estimates made within a limited time frame at the beginning
of the software project and should be updated regularly as the project progresses.

42
Bibliography:

Books:

1. Learning PHP, MySQL, JavaScript, CSS & HTML5: A Step-by-Step Guide to


Creating Dynamic Websites by Robin Nixon.

43
Web references:

1. https://w3schools.com
2. https://geeksforgeeks.org

44

You might also like