/taxi-service

This is a simple web application that supports registration, authentication and simple CRUD operations. It follows SOLID patterns and built up according to N-tier architecture. It consists of 3 layers: Presentation layer, Business logic layer and Data access layer.

Primary LanguageJava

🚖 Taxi-service 🚖

📣 Project description 📣

This is a simple web application that supports registration, authentication and simple CRUD operations. It follows SOLID patterns and is built up according to N-tier architecture. It consists of 3 layers: Presentation layer, Business logic layer and Data access layer.

📑 Features

  • Registration as driver
  • Authentication as a driver
  • Authenticated driver can perform CRUD
  • Supports display of all cars that belong to current driver
  • Displays all manufacturers/drivers/cars
  • Logout option

📁 Project structure

👉Controllers are main components of Presentation layer and responsible for receiving user requests and giving response with jsp page

👉Business logic layer consists of services that are responsible for transmission of data to controllers

👉DAO classes represent Data access layer and responsible for CRUD operations with database entities

Technologies

  • Java 11
  • Maven 4.0
  • Java Servlet API 4.0.1
  • JDBC
  • Jakarta Server Pages
  • JSTL 1.2
  • MySQL 8.0.22
  • TomCat 9.0.68

💣Instructions for launching the project💣

To run this project locally, follow these steps:

1️⃣ You should install TomCat version 9 and MySQL

2️⃣ Clone this project from GitHub

git clone https://github.com/PavloPolovyi/taxi-service

3️⃣ Run query from init_db to create local database schema

4️⃣ Configure ConnectionUtil, set username and password values for your database to corresponding fields

5️⃣ Configure TomCat for this project and run it