Professional Documents
Culture Documents
Mini Project
Report On
CHOCOLATE ORDERING
MANAGEMENT SYSTEM
Submitted in partial fulfillment for the award of degree of
Bachelor of Engineering
In
Computer Science and Engineering
Submitted by
BHAVANA V
(1BG19CS021)
VidyayaAmruthamAshnuthe
VidyayaAmruthamAshnuthe
CERTIFICATE
Examiner 1:
Examiner 2:
ABSTRACT
The entitled project “CHOCOLATES ORDERING MANAGEMENT SYSTEM” is
made keeping in mindall the aspects of the chocolates. The system allows only registered
users to login and newusers are allowed to register on the application. The system allows
the users to login and buy a chocolates from other the website and view the chocolates.
The user is also given a choice of making the payment in online or cash on delivery. The
software is very easy to use and it is very beneficial to those peoplewho don’t have
time to go and purchase offline and to get things done in a faster way, as this system
helps the users to compare the details of the chocolates, it gives a clarity to them to make
a best choice out of all the choices available. Since all the work that is to be done by this
software can also be done manually, but this consumes time, man power and energy. So,
this software will be a relief to those who want to save time and energy.
I
ACKNOWLEDGEMENT
The success and final outcome of the entitled project “Chocolate ordering Management
System” required a lot of guidance and assistance from many people and I am extremely
privileged to have got this all along the completion of my project.
I would like to thank Shri. Narayan Rao R Maanay, Secretary, BNMIT, Bengaluru for
providing excellent academic environment in the college.
I would like to sincerely thank Prof. T J Rama Murthy, Director, BNMIT, Bengaluru
for having extended his support and encouragement during the course of the work.
I would like to thank Dr. Krishnamurthy G N, Principal, BNMIT, Bengaluru for his
constant encouragement.
I would like to thank, Dr. Sahana D Gowda, Professor and Head of the Department of
Computer Science and Engineering who has shared her opinions and thoughts which
helped me in giving my presentation successfully.
II
BHAVANA V
1BG19CS021
II
TABLE OF CONTENTS
Page no.
CONTENT
ABSTRACT I
ACKNOWLDEGEMENT II
1. INTRODUCTION 1
2.1 Software 4
2.2 Hardware 4
3. SYSTEM DESIGN 5
3.1 E R Diagram 5
3.2 Schema Diagram 7
3.3 Overview of GUI 8
3.4 Normalization 10
4. IMPLEMENTATION 12
FUTURE ENHANCEMENTS 40
Figure no. Figure name page No
3.1 E R diagram of Chocolate ordering Management System 6
4.12 triggers 23
The database system can be divided into System developer and End users.
Advantages of DBMS:
1.3 Objectives
The main objective of the Project on Online chocolate Ordering System is to manage the details
of chocolate Item, Category, Customer, Order, Confirm Order. It manages all the information
about chocolate Item, Payment, Confirm Order, chocolate Item. The project is totally built at
administrative end and thus only the administrator is guaranteed the access. The purpose of the
project is to build an application program to reduce the manual work for managing the chocolate
Item, Category, Payment, Customer. It tracks all the details about the Customer,
Order,ConfirmOrder.
1 Provides the searching facilities based on various factors. Such as chocolate Item,
Customer, Order, Confirm Order
2 Online chocolate Ordering System also manage the Payment details online for Order details,
Confirm Order details, chocolate Item.
3 It tracks all the information of Category, Payment, Order etc
4 Manage the information of Category etc
5 Shows the information and description of the chocolate Item, Customer
6 To increase efficiency of managing the chocolate Item, Category
7 It deals with monitoring the information and transactions of Order.
The entity Contact is created with the attributes name, email, mobile, subject,
message. The attribute name is the key attribute which isalso known as the primary
key
The Entity Customer is created with username, fullname, email, contact, address,
password. The primary key is username .
The Entity Chocolate is created with attributes f_id, name, price, description, r_id and
image_path where primary key is f_id and r_id
The entity Manager is created with the attributes username, fullname, email, contact,
address and password where primary key is username
The entity Orders is created with the attributes order_id, f_id, chocolate_name, price,
quantity,order_date and username where primary key is order_id
The entity restaurant(outlet) is created with the attributes r_id, name, email, contact,
address and M_id. r_id the primary key
SYSTEM REQUIREMENTS
To be used efficiently, all computer software needs certain hardware components or
other software resources to be present on a computer. These prerequisites are known as
(computer) system requirements and are often used as a guideline as opposed to an absolute
rule. Most software defines two sets of system requirements: minimum and recommended.
With increasing demand for higher processing power and resources in newer versions of
software, system requirements tend to increase over time.
Register Page
3.4 Normalization
Normalization is a process of analyzing the given relation schema based on theirfunctional
dependencies and primary key to achieve desirable properties of minimizing redundancy and
minimizing insert, delete, update anomaly. The normalization process takes arelation schema
through a series of tests to certify whether it satisfies a certain normal form The normal form
of a relation refers to the highest normal form condition that it meets, and hence the degree to
which it has been normalized. There are two goals of the normalization process: eliminating
redundant data (for example, storing the same data in more than one table)and ensuring data
dependencies make sense (only storing related data in a table). Both of theseare worthy goals
as it reduces the amount of space a database consumes and ensure that data islogically stored.
Normalization rule are divided into following normal form.
Consider the relations shown above here all the relations are in 2NF as all the nonprime attributes are
fully functionally dependent on the set of prime attributes. Hence the relations are in 2N
CHAPTER 4
Customer
chocolate
Manager
orders
create table
orders(
order_id int(30) not null,
f_id int(30) not null,
foodname varchar(30) not null,
price int(30) not null,
quantity int(30) not null,
order_date date not null,
username varchar(30) not null,
r_id int(30) not null
)
RESTAURANTS(OUTLETS)
Contact
Chocolate
Manager
Orders
4.3Populated Tables
triggers
Stored Procedure
A stored procedure is a set of Structured Query Language (SQL) statements with an assigned name,
which are stored in a relational database management system as a group. So if a query has to be
written over and over again, instead of having to write that query each time, it can be saved as a
stored product and can be executed just by calling the procedure. In addition, parameters can also be
passed to the stored procedure. So depending on the need, the stored procedure can act accordingly
Stored procedure
const connection =
mysql.createConnection({ host:
dbConfig.HOST,
user: dbConfig.USER,
password: dbConfig.PASSWORD,
database: dbConfig.DB
});
});
module.exports = connection;
CHAPTER 5 RESULTS
HOME PAGE
About us:
Contact page
User Login
Chocolate Details
Cart details
Payment option
Cash on delivery
MODULES
The below flowchart explains how the system runs in the real world. The system can be
easily implemented under various situations. Reusability is possible as and when
required in this application. There is flexibility in all the modules which makes the task
of the user easier. The system consists of Manager account and user account. The first
time users are required to register to this site else the user will not be able to access the
features of the site. After successful registration, the user can log in to his account and
view the Chocolates and place orders. The user cart is implemented using cookies.
Cookies is a nice way of implementing cart because any time a user wishes to add items
into his cart, hitting database each time for temporary purposes makes multiple
transactions which can be costly. Cookies reduce these wasteful transactions. If the user
adds items to his cart, only then he will be able to place an order else not. Once order is
placed the bill is generated for the user. The manager can update the chocolate and price
as and when required and these updates will be shown simultaneously in the user's side
too. The manager can update the contents, price, quantity, description and also delete
some of the items as his wish.
CONCLUSION
The chocolate ordering management system is designed to make it easier for the users
to view and buy the chocolates. The main aim of maintaining the chocolate data has been
achieved in this system. It has been developed in HTML, CSS, Bootstrap, Javascript
keepingin mind the specification of the system. For designing the system,
HTML/CSS/Javascript/Bootstrap is being used as the front end and the application can be run
using xampp server. To connect thebackend with the frontend, Phpmyadmin is used to make
API calls. The user can create an accountby providing all the essential details like their
username, fullname, Address, contact,email,password. After registering the account, the user
can view and buy the chocolates.The application takes care of all the requirements and is
capable to provide easy and effectivestorage of information related to chocolates
The application is built using suitable back-end and front-end which has made the
project more efficient and user-friendly. . Overall the project teaches us the essential skills
like understanding the database handling and query processing, implement, analyze and
evaluate the project developed for an application, demonstrate the working of different
concepts of DBMS.
• Once it is updated as an application, the users can be able to find the chocolates in
any part of the country.
• Payment validation and security can be done when the application is ready to be used
in real-time.
• Enabling users to have a conversation on the application.
• Tracking of the order can be enhanced