An e-commerce platform developed as a project for the Tecnologie Software per il Web (Web Development Technologies) course, part of the Computer Science Bachelor's Degree program at the University of Salerno
PopShop was designed and developed with the goal of gaining practical experience in implementing a complete web application, including both frontend and backend, to manage an online store. The application allows users to explore a wide range of products, add them to the cart, place orders, and manage their account. The website admin can manage products and users through a dedicated administration interface.
- Add new items (Admin)
- Search for items
- Add an item to the cart
- Check items in the cart
- Buy items
- Clone the repository
git clone https://github.com/raffaeleav/popshop.git
- Switch to the project directory
cd popshop
- Execute the database script (be sure to change the MySQL server credentials in model.ConPool)
sudo mysql -u root -p < ./src/main/webapp/database/database.sql
- Build the project
mvn install
- Copy the .war file to the webapps directory of your Tomcat server
sudo cp target/popshop-retry-1.0-SNAPSHOT.war /opt/tomcat/apache-tomcat-10.1.30/webapps
- Start the Tomcat server (assuming you have created a tomcat systemd service)
sudo systemctl start tomcat
- Open the browser and access the webapp running at localhost
xdg-open 'http://localhost/popshop-retry-1.0-SNAPSHOT'
- Java - used for the backend implementation
- HTML - used for the frontend development of the web app
- CSS - used for formatting and managing the responsive layout of the web app
- JavaScript - used for form validation
- AJAX - used for making asynchronous calls
- SQL - used for implementing the physical schema of the database
- Maven - used for for dependency management