Online Art Gallery
Online Art Gallery
Online Art Gallery
A REPORT ON
Submitted by
Prof. Radhika.K.P
Assistant Professor
Department of Computer Science and Engineering
CERTIFICATE
This is certify that Tejaswini Y bearing USN : 4CS21CS103, is a bonafide student of Cauvery Institute of
Technology has satisfactorily presented an Report entitled “Art gallery Management” in partial fulfilment
of the requirements for the award of Degree of Bachelor of Engineering in Department of Computer Science
and Engineering by the Visvesvaraya Technological University, Belgavi during the academic year 2022-
2023.
1.
2.
Acknowledgement
Dreams never turn into reality unless a lot of efforts and hard work is put into it. It takes a lot of
efforts to make your way to the goal and having someone to guide you and help you is always a
blessing. So I acknowledge all those whose guidance and encouragement served as a beacon
light and crowned my efforts with success.
I am thankful to Dr. Srikantappa A S, Principal, CIT, Mandya, for all the support he has
rendered for providing me an opportunity to carry out my internship.
I would like to thank Prof. Akshatha T M, Assistant Professor and Head, Department of
Computer Science and Engineering, for her support for the successful completion of this
internship.
I would like to sincerely thank my internal guide Prof. Radhika K P, Assistant Professor,
Department of Computer Science and Engineering for providing relevant information, valuable
guidance and encouragement to complete this internship.
I would like to thank all the teaching and non-teaching staff of Computer Science and
Engineering department who has helped me on various occasions during the course of this work.
Tejaswini y
ABSTRACT
Online art gallery is an e-commerce application which connects artists with their customers, this website
will help the artists to showcase their art in this website by helping them to sell it to prospective customers
also it will help the customers to discover and search the art which they like and they will have an option
to buy the art if they want.
There will be three types of user’s roles in the website, the first one is buyer who can search and discover
the art without any need to register or login but if they want to buy any art they have to register and login
to buy the art and second one is a seller who has to register and login to post their art works for exhibiting
and selling on the website and third user is admin who specifies authority and restrictions on the users.
There will be a separate console for artist, buyer and administrator.
Software Requirements/Tools:
Operating System: Windows XP/2010.
User Interface: HTML5, CSS3, Bootstrap.
Client-side Scripting: JavaScript.
IDE/Workbench: NetBeans.
Database: MySQL.
Modules:
1. Admin Login module.
2. Admin Order Management module.
3. Add Artist information module.
4. Add System user module.
5. Artist Login module.
6. Customer Login Module.
7. Customer Payment Module.
8. Advanced Search module.
Table of Content
1 Project Description.................................................................................................................................1
1.1 Competitive Information.................................................................................................................1
1.2 Relationship to Other Applications/Projects...................................................................................1
1.3 Assumptions and Dependencies......................................................................................................1
1.4 Future Enhancements......................................................................................................................1
2 Project Technical Description................................................................................................................1
2.1 Application Architecture.................................................................................................................2
2.2 Application Information flows........................................................................................................2
2.2.1 Information Flow for Customer...................................................................................................2
2.2.2 Information Flow for Artist.........................................................................................................3
2.2.3 Information Flow for Admin.......................................................................................................3
2.2.4 Use case Diagram........................................................................................................................4
2.2.5 Sequence diagram for customer...................................................................................................5
2.2.6 Sequence diagram for Artist........................................................................................................6
2.2.7 Sequence diagram for Admin to manage user.............................................................................7
2.2.8 Sequence diagram for Admin to manage orders..........................................................................8
2.2.9 ER Diagram.................................................................................................................................9
2.3 Searching.......................................................................................................................................10
2.4 Role Based Access Control...........................................................................................................11
2.5 Capabilities....................................................................................................................................11
2.6 Risk Assessment and Management...............................................................................................12
3 Project Requirements...........................................................................................................................12
3.1 Identification of Requirements......................................................................................................12
3.2 Operations, Administration, Maintenance and Provisioning (OAM&P)......................................12
3.3 Security and Fraud Prevention......................................................................................................12
4 Project Design Description...................................................................................................................13
4.1 Functional Overview.....................................................................................................................13
4.1.1 Functional Overview of customer..............................................................................................13
4.1.2 Functional Overview of Artist...................................................................................................13
4.1.3 Functional Overview of Admin.................................................................................................13
4.2 Requirements.................................................................................................................................14
4.2.1 Functional Requirements...........................................................................................................14
4.2.2 Non-functional Requirements....................................................................................................14
5 Acknowledgements...............................................................................................................................14
6 References.............................................................................................................................................14
7 conclusion ............................................................................................................................................15
i
1 Project Description
Online Art Gallery is a platform for e-commerce that brings artists and artists from around the world into
the network. This web-site shows a wide array of paintings, drawings, prints, digital art, sculpture and
photography and offers artists a curated atmosphere in which their work can be displayed and sold.
There will be three types of users using this website Artist, Customer and Admin, Artist can exhibit and
sell their art Customer can buy the art, Admin can manage the orders, create artist User and view reports.
Front End work was coded using Bootstrap, JavaScript and HTML, Language used is Java, Technology is
JSP, Database is in MySQL, IDE used to develop the project is NetBeans and the Server used to deploy
the website is Apache Tomcat
1
2.1 Application Architecture
Users will connect to Web Server and database (See Figure 1.).
Art Gallery DB
Web Server
Users
Figure 1(Application Architecture)
2
2.2.2 Information Flow for Artist
5
2.2.6 Sequence diagram for Artist
6
2.2.7 Sequence diagram for Admin to manage user
7
2.2.8 Sequence diagram for Admin to manage orders
8
2.2.9 ER Diagram
In this project search of art id done through color identification image .This search is based on image
processing while the artist is uploading the image ,an algorithm finds the most dominant color of the
image and saves that image color in the database, while searching by color it searches for that color
field in database and fetches all images data related to the search color (See Figure 11.).
10
Search by Artist name
Once a user types the artist name in the search box, that artist name as key is searched in the database
and all images uploaded by that artist is fetched and displayed.
Search by Tag
Once a user types the tag in the search box, that tag as key is searched in the database and all images
related to that tag is fetched and displayed.
Search by Subject
Once a user types the subject in the search box, that subject as key is searched in the database and all
images related to that subject is fetched and displayed.
Search by Price
This Project has two price categories to search
If Less than $500, Products whose price is less than 500 will be fetched from database and
displayed on the page.
If Greater than $500, Products whose price is Greater than 500 will be fetched from database
and displayed on the page.
In this project role based access functionality is implemented by defining roles of different entities such as
Admin, Artist, Customer in a Role Table where Admin Role is defined by an Integer Constant
"1",similarly Artist as "2" and Customer as "3",when a user enters an Id or Password ,authentication is
done through "Login" Table and authorization is done by using "Role" table. We defined access to
business logic for each specific page to the user based on their role_id.
Authentication and authorization are explained in detailed below:
Once the user enter the login credentials ,The Entered userid and password is search through login table if
both are correct than its "role_id" field value(1 or 2 or 3) from the login table is matched with the role_id
field in Role Table and whatever the value is assigned to that role_id (admin, artist, customer) that
specific user respective pages is opened (based on role_id)and its role_id is set in session object and the
session object is destroyed either by logout or until the set time interval of inactivity.
2.5 Capabilities
Provide a list of the capabilities need to support this Project. Example: a database application must
Online art gallery is a user-friendly website. Below are the capabilities identified.
Three users Admin, Artist, and Customer.
11
Customer Sign in and Sign Up.
Admin can create Artist user.
Artist can sign in using the username and password.
Artist can add an Art provide details for the art such as image, tags, subject, size, category.
Admin can make changes to the status of the artist to approved or not approved.
Customer can search for art using different advanced search options such as name, color, tags,
subject, size, category.
3 Project Requirements
12
4 Project Design Description
Online art gallery is an ecommerce website which connects people with art and artists all over the world.
This website showcases a large selection of painting, drawing, prints, digital arts, sculpture and
photography, and provides artists with a curated environment in which they exhibit and sell their work.
Users and roles
The online art gallery website consists of three main users they are
o Admin user
o Artist user
o Customer user
Admin able to login and logout.
Artist able login and logout.
Customer able login and logout.
Customers and Artist username and password and email address can only visible to administrator.
Signup for new customer.
Customer, Admin and Artist can change the password.
Admin can add or remove an artist.
Customer can search and buy an art.
4.2 Requirements
14
5 snapshot
Screenshots
Figure 12 ( Home Page)
15
Figure 14 ( Product By Categories Page)
16
Figure 16 (Contact Us Page)
17
Figure 18 (Customer Registration Page)
18
Figure 20 (Customer order report Page)
19
Figure 22 (Artist/Admin login Page)
20
Figure 24 (Artist Add Art Page)
21
Figure 26 (Artist stock report Page)
22
Figure 28 (Admin console Page)
23
Figure 30 (/Admin Artist report Page)
24
Figure 32 (Admin Art stock report Page)
25
Figure 34 (Admin Art stock report Page)
1 References
For JavaScript
https://www.w3schools.com/js/
For Bootstrap
https://www.w3schools.com/bootstrap/
26
27