A simple web-application that supports authentication, registration and other CRUD operations.
Demo link - deployed on hosting with Tomcat 8.5.89 and Java 11.0.19
registrationlike a driver;authenticationlike a driver;create/removea manufacturer;create/removea car;create/removea driver;displaylist of all manufacturers;displaylist of all cars;displaylist of all drivers;displaylist of my cars;adddriver to car.
Java 11, Servlet, JDBC, JSP, JSTL, Maven, HTML, CSS
- Add this project to IntelliJ IDEA Ultimat
- Configure Tomcat
- Connecting to the database with MySQL Workbench
- To get the actual parameters of the database tables, run script from the
resources/init_db.sqlfile in the Workbench - Insert sql query to have registered user (Login:
rootPassword:1234)
INSERT INTO drivers (name, license_number, login, password) VALUE ('Admin', 'ABB123456', 'root', '1234');- Establish a database connection using the file
java/taxi/util/ConnectionUtil, replace with your settings
Example:
private static final String URL = "YOUR_URL";
private static final String USERNAME = "YOUR_USERNAME";
private static final String PASSWORD = "YOUR_PASSWORD";
private static final String JDBC_DRIVER = "YOUR_JDBC_DRIVER";- Run the project using Tomcat 9.0.50
Enjoy 💛💙


