Repository for the Project of Software Oriented (A.A. 2023-2024) held at the University of L'Aquila @UnivAQ by Prof. Marco Autili and Doc. Gianluca Filippone.
OTHER License
For the Project of Software Oriented at @Univaq:
It's built using Spring Boot and Angular, designed as a monitor violation detection system. Its primary goal is to monitor vehicules violations.
The backend is implemented with Spring Boot, while the frontend utilizes Angular and Bootstrap for the user interface.
Beyond standard data querying and modification, the system allows for the submission of speeding violations, resulting in an offense record. Additionally, it enables vehicle owners to view their own violations, giving them easy access to their offense history.
https://github.com/user-attachments/assets/9307b89d-045d-457d-b22a-9f3ff03d31f3
Before running this application, you need to have the following software installed on your system :
- Java Development Kit (JDK) version 11 or later
- Node.js version 14 or later
- Angular CLI version 13 or later
- Docker
Follow these steps to install and run the application :
git clone https://github.com/adam-bouafia/L-Aquila-Smart-Roads.git
./mvnw spring-boot:run
npm install
ng serve
http://localhost:4200
to access the application.The following technologies and frameworks are used in this application:
The application allows performing the following operations:
The backend contains 5 services :
Registration microservice manages vehicles owned by owners. Each vehicle belongs to a single owner.
An owner is defined by their ID, name, date of birth, email.
A vehicle is defined by its ID, Vehicule number, brand, fiscal power, and model
a. REST :
Tests with Postman
b. GraphQL :
c. SOAP :
Tests with SoapUI
d. GRPC :
Tests with BloomRPC
Monitor microservice responsible for managing monitors handles monitor entities defined
by their ID, maximum speed limit, and coordinates (longitude and latitude)
amend microservice responsible for managing violations handles each violation, which is defined
by its ID, date, the monitor number that detected the offense, the vehicle Vehicule number,
the vehicle's speed, the monitor's maximum speed limit, and the fine amount.
server-side component in the Netflix OSS stack that allows services to register
and discover each other in a microservices architecture.
Spring Cloud Gateway It provides a centralized entry point for routing and filtering requests
to microservices in a distributed system, enabling dynamic and scalable routing based on various criteria.
A Java application that simulates a monitor system generating random speeding violations
and sending them to the Monitor-Prosumer.
This project is licensed under the GPL-3.0 license - see the LICENSE file for details.