The Online Shopping App is a web-based application that allows users to browse, search, and purchase products online. This project demonstrates the integration of Java Server Pages (JSP), Java Servlets, JDBC, and MySQL for building a robust and scalable e-commerce platform.
- User registration and authentication
- Product browsing and searching
- Shopping cart functionality
- Secure checkout process
- Order history tracking
- Admin dashboard for managing products and orders
- Front-end: HTML, CSS, JavaScript
- Back-end: JSP, Servlets
- Database: MySQL
- Connectivity: JDBC
To run this project locally, you need to have the following software installed:
- JDK (Java Development Kit) - Java 8 or higher
- Apache Tomcat - Version 9.0 or higher
- MySQL - Version 5.7 or higher
- Eclipse IDE or any other Java IDE
-
Clone the repository:
git clone https://github.com/hemanthsaich/OnlineShopingApp.git
-
Set up the database:
- Create a database named
shopping_db
in MySQL. - Import the
shopping_db.sql
file located in thedatabase
folder of this project into theshoppingsystem
database. - Update the database configuration in the
db.properties
file located in thesrc
folder.
- Create a database named
-
Configure the project in the IDE:
- Open the project in Eclipse or any other IDE.
- Add the Apache Tomcat server to the IDE and configure the project to run on it.
- Right-click on the project, go to
Properties
>Java Build Path
>Libraries
, and add the MySQL JDBC driver to the project.
-
Run the project:
- Start the Apache Tomcat server.
- Deploy the project on the server.
- Open a web browser and navigate to
http://localhost:8080/OnlineShopingApp
.
-
User Registration:
-
Product Browsing:
-
Shopping Cart:
-
Checkout:
-
Order History:
-
Admin Dashboard: