Skip to content

sowndv02/gas_store

Repository files navigation

Gas store Website Using JSP/Servlet

Project summary

  • This project is an online store website developed using JSP/ Servlet.
  • It provides a platform for users to access information, buy and sell, and answer user questions or news about gas remotely.

Technologies Used

The project utilizes the following technologies and tools:

  • Java
  • JSP/Servlet
  • HTML/CSS/JavaScript
  • Microsoft SQL Server
  • Apache Tomcat
  • VNPay sandbox
  • JavaMail API
  • Google API
  • Jquery
  • Charts.js
  • Maven
  • Google Appscript

Screen details about this project

  • This is HomePage

screencapture-localhost-14014-2022-07-27-13_06_45

  • This is the products listing page

screencapture-localhost-14014-Product-List-2022-07-27-13_07_00

  • This is the page showing the product details

screencapture-localhost-14014-Celebrity-List-2022-07-27-13_07_22

  • Clicking on any product will take you to the detail page of that product. Users can add to the cart the product user want to buy. Users when registered to the system can checkout with products in the cart, and view information about products, such as suppliers, product reviews, and a list of products related to that genre.

screencapture-localhost-14014-Movie-Details-299536-2022-07-27-13_08_07 screencapture-localhost-14014-Movie-Details-299536-2022-07-27-13_08_07 Screenshot 2022-07-27 131311 Screenshot 2022-07-27 131311 Screenshot 2022-07-27 131311 Screenshot 2022-07-27 131311

  • Next is about the user part: can edit information, photo

screencapture-localhost-14014-User-Profile-2022-07-27-13_10_10

  • Next is about the user part: can view all order

screencapture-localhost-14014-User-Profile-2022-07-27-13_10_10

  • Next is about the user part: can change password

screencapture-localhost-14014-User-Profile-2022-07-27-13_10_10

  • Next is user can forgot password. User can submit a request for a new password. The system will send an OTP to their email screencapture-localhost-14014-User-Profile-2022-07-27-13_10_10

  • Next, users who do not have an account can register a new account. screencapture-localhost-14014-User-Profile-2022-07-27-13_10_10

  • Next, Users can register for warranty if the product is still under warranty or view the product's warranty policies. screencapture-localhost-14014-User-Profile-2022-07-27-13_10_10

  • Users can login with account system or google account. screencapture-localhost-14014-User-Profile-2022-07-27-13_10_10 screencapture-localhost-14014-User-Profile-2022-07-27-13_10_10

  • user can view news or search new by title or month or topic. User can comment to news if user login to system. screencapture-localhost-14014-User-Profile-2022-07-27-13_10_10 screencapture-localhost-14014-User-Profile-2022-07-27-13_10_10

  • User can send feedback to admin. The system will send an email notifying the user that the response has been received screencapture-localhost-14014-User-Profile-2022-07-27-13_10_10

  • Users can view frequently asked questions through the website's FAQ section screencapture-localhost-14014-User-Profile-2022-07-27-13_10_10

  • Next is the admin page that will display the number of orders by month, total users, total orders, and total feedback from customers. And pending orders (new orders). New customers and top 5 customers with the largest usage amount. Products that have reached the time of quality inspection - click to send email to users. Warn products with more than 5 warranties in 1 month.

screencapture-localhost-14014-Admin-Dashboard-2022-07-27-13_12_50 screencapture-localhost-14014-Admin-Dashboard-2022-07-27-13_12_50

  • Admin can see the product list, add, edit, hide products

screencapture-localhost-14014-admin-2022-07-27-13_11_13 screencapture-localhost-14014-admin-movies-add-2022-07-27-13_11_25 screencapture-localhost-14014-admin-movies-add-2022-07-27-13_11_25

  • Manage suppliers and shippers

screencapture-localhost-14014-admin-Companies-2022-07-27-13_12_07 screencapture-localhost-14014-Admin-Celebrities-2022-07-27-13_11_57 screencapture-localhost-14014-admin-genres-2022-07-27-13_12_16 screencapture-localhost-14014-admin-Companies-2022-07-27-13_12_07

  • Manage users account. If the account is unlocked or locked, a notification will be sent to the user's email

screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35 screencapture-localhost-14014-admin-Users-2022-07-27-13_12_25

  • Manage orders (change status order), View orderdetail, Export Excel file

screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35

screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35

  • Respond to user feedback. A notification will be sent to the user's email if the response is processed

screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35 screencapture-localhost-14014-admin-Users-2022-07-27-13_12_25

  • Manage user reviews about products (hide/show) reviews. A notification will be sent to the user's email if the user's review is hidden or violated

screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35

  • Admin can forgot password. Admin can submit a request for a new password. The system will send an OTP to their email

screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35

  • Manage news: Admin can view list news, create, update, delete news screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35 screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35 screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35 screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35

  • Manage FAQs: Admin can view list all Faqs, create, update, delete Faqs. screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35 screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35 screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35

  • Manage discount: Admin can view all discount, create, update, change status discount, add product with discount selected screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35 screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35 screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35 screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35

  • Manage Warranty: Admin can accept warranty from customer and generate bill for customer

screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35 screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35 screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35

  • Admin can view statistic of website

screencapture-localhost-14014-admin-Users-2022-07-27-13_12_35

How to Run the Project

  1. Clone or download the project files from the repository.
  2. Set up a servlet container (e.g., Apache Tomcat) on your local machine.
  3. Import the project into your preferred IDE.
  4. Configure the database connection settings in the project configuration files.
  5. Run file data.sql to import data
  6. Build and deploy the project to the servlet container.
  7. Access the website using a web browser at the specified URL.

Database Schema

The website uses a relational database to store and manage data. Here is a simplified version of the database schema:

Database Schema

Contribution Guidelines

  • Đào Văn Sơn
  • Nguyễn Tuấn Cường
  • Trịnh Hoàng Dũng
  • Hoành Minh Tuấn
  • Nguyễn Xuân Hậu

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published