Skip to content

WUNLIMZHE/cat201-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

146 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sunny Papyrus Book Store

About this application

This project is a full-featured book selling website with two distinct user interfaces: a User UI for customers and an Admin UI for administrators.

Features

User UI

  1. Payment and Shipping Management: Users can set their preferred payment method and shipping address.
  2. Book Browsing and Filtering: Users can view books with search and filter functionality based on language, category, and sorting options (rating and sales).
  3. Cart Management: Users can:
    • View their cart.
    • Delete books from the cart.
    • Adjust book quantities directly in the cart.
  4. Order Management:
    • Users can proceed with payment.
    • After payment, users can view their purchase history, which includes the total amount, purchase ID, and status of each purchase.

Admin UI

  1. Order Management: Admins can update customers' order statuses.
  2. Stock Management:
    • Search books based on the book ID, ISBN, or author.
    • Update stock levels.
  3. Product Management: Admins can add new products to the catalog.

Running the program

Clone this repo:

git clone https://github.com/WUNLIMZHE/cat201-project.git
cd cat201-project

Running with Node

  1. Make sure you have Node.JS installed.
    Node installation link:
https://nodejs.org/en
  1. Navigate to the frontend directory.
cd .\frontend\
  1. In the directory, install the dependencies using npm install.
npm install
  1. Run the server:
npm run dev
  1. Go to http://localhost:5173.
http://localhost:5173

Running with Tomcat Server

  1. Make sure you have Apache Tomcat installed.
    Tomcat installation link:
https://tomcat.apache.org/
  1. Make sure you have Apache Maven installed.
    Maven installation link:
https://maven.apache.org/
  1. Navigate to the backend directory.
cd .\backend\
  1. Run the server:
mvn tomcat7:run
  1. Go to http://localhost:9000.
http://localhost:9000

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •