This repository contains the source code of the proect BookRec for the webapp course in the academic year 2023/2024.
BookRec is a webapp where user can create and delete their account and search for informations about thei favourite books, authors or to search other users of the website. The database is made with PostgreSQL, the backend is managed by Java Servlets (thanks to the web container Tomcat) and it features a dynamic frontend thanks to the use of JSP pages, CSS and some JavaScript code.
In order to test the website correctly, follow these steps:
- Install everything needed (Tomcat, Java, Maven and PostgreSQL)
- Create an account in postgreSQL according to the credentials written in context.xml (in the folder BookRec/src/main/webapp/META-INF)
- After cloning this repo, import the DB saved as .sql file in BookRec/src/main/database in PostgreSQL
- Optional: if images are not present in the DB after restoring the backup file, use the Python script to import them
- Compile the project using Maven (mvn clean package javadoc:javadoc)
- Deploy the .war file in Tomcat
- The homepage of the website is located at /jsp/home.jsp
This project has been developed by Stefano Bortolatto and Vinayak Kumar.
Web Applications is a course of the
- Master Degree in Computer Engineering
- Master Degree in ICT for Internet and Multimedia
- Master Degree in Cybersecurity
of the Department of Information Engineering, University of Padua, Italy. Web Applications is part of the teaching activities of the Intelligent Interactive Information Access (IIIA) Hub.