This is a simple application made for educational and demonstration purposes. Implements
authentication by filters based on session. Logs some Authentication information and create/update/delete database operations to console and .log
file. Registration of new drivers, managing the relations between cars, drivers and manufacturers and other CRUD operations.
Program has following functionalities:
- create new Manufacturer
- display all Manufacturers
- create new Driver
- display all Drivers
- create new Car
- display all Cars
- add driver to car
- list all cars by driver
You can access all of them from the main /index
page
after registering as a new driver at /drivers/add
page
and signing in at /drivers/login
page (to which you will be redirected if you will try to access pages that are not allowed for unsigned drivers).
After that you will have access to all the pages and functionality.
- DAO - Data access layer
- Service - Application logic layer
- Controllers - Presentation layer
- Java 11
- Apache Maven
- Apache TomCat
- Apache Log4j2
- MySQL
- JDBC
- Http Servlet
- JSTL
- JSP
- HTML, CSS, XML, Bootstrap
WARNING Installed TomCat and MySQL is compulsory for this project.
- Add a tomcat local configuration in IntelliJ (Tomcat server - local, deployment - war exploded, application context: /)
- Run SQL script located in
src/main/resources/init_db.sql
to set up a database for this project. - Configure
src/main/java/taxi/util/ConnectionUtil.java
with yourURL
,USERNAME
,PASSWORD
andJDBC_DRIVER
. - In the
src/main/resources/log4j2.xml
at line 7 you also need to setABSOLUTE_PATH
to your.log
file. - Import Maven dependency from pom.xml.
https://salty-citadel-80806.herokuapp.com/
Login: root
Password: 1234
My LinkedIn