- Java Development Kit (JDK).
- Apache Tomcat server installed and configured.
- MySQL server installed and running.
- IDE (e.g., IntelliJ, Eclipse, or NetBeans).
- Clone this repository to your local machine.
- Import the project into your preferred IDE.
- Open the
/sqlfolder and locate the SQL file for database schema setup. - Create a MySQL database named
LibTrack. - Import the SQL file into the
LibTrackdatabase using your MySQL client or command line.
The database connection details are in java/com/LibTrack/utils and its name is DatabaseConn.java, update it as needed for your own databases:
private static String dburl = "jdbc:mysql://localhost:3306/LibTrack";
private static String dbuname = "root";
private static String dbpassword = "CS157A@SJSU"; // Update as needed- In your IDE, start your Tomcat server and run the project on the server.
- Navigate to: http://localhost:8080/CS157A-team9/landingPage.jsp
- Click on log in to log in as one of the users in the database or register as a new user.