Taxi Service Web App
This is a simple Web Application that simulates the work of a taxi service. The program can authenticate users, work with data of drivers, cars, car manufacturers and work with the database.
It was used 3-tier architecture:
- Controllers - Presentation layer;
- Service - Application layer;
- DAO - Data access layer.
Used technologies:
- Java 11;
- Apache Tomcat - version 9.0.60;
- MySQL;
- Servlet;
- JSP;
- JSTL;
- Log4j version 2.17.1.
Your steps for successful usage of the App:
- Config the Apache Tomcat version 9.0.xx;
- In the log4j2.xml file in the line 7 change the path "logs\app.log" to your absolute local path;
- Recommended to use JDK 11 version;
- Replace stubs in taxi/util/ConnectionUtil.java with your real values;
- Run Tomcat Server;
- Click on "Register" on the login page and create a new driver profile;
- After you have been redirected to the login page, log in using the new login and password;
- And now you have access to all features of the program.
The following features are available for use:
- Display all drivers allows you to display all drivers from the database and to delete drivers one by one;
- Display All Cars allows you to display all cars from the database and to delete cars one by one;
- Display All Manufacturers allows you to display all car manufacturers from the database and to delete manufacturers one by one;
- Display All My Cars allows you to display a list of all cars that are assigned to you as a driver and the ability to remove them from the list;
- Create new Driver - you can register a new driver in a database also the feature is available to unregistered users;
- Create new Car - you can add a new car to a database;
- Create new Manufacturer - you can add a new manufacturer to a database;
- Add Driver to Car - this section allows you to add a driver to the list of car drivers.