We are excited to announce the initial release of FieldGuardian-BACKEND, version 1.0.0. This release marks the culmination of extensive development and testing efforts, providing a robust and scalable backend solution for the FieldGuardian application. Below are the key features and enhancements included in this release:
Key Features and Enhancements:
-
Entities and DTOs:
- Defined core data structures and efficient data exchange mechanisms.
- Implemented related Enums to represent constant values.
-
Utility Classes:
- Developed utility classes for common functionalities.
- Enhanced data conversion and mapping using ModelMapper and custom converters.
-
Property Files and Custom Banner:
- Included essential property files for application settings.
- Added a custom
banner.txt
for application startup.
-
Service and Repository Layers:
- Implemented basic core methods in the service layer.
- Developed the repository layer to handle data persistence.
- Ensured proper validation, updated entity relationships, and corrected data persistence issues.
-
HealthTestController:
- Added a controller to return an HTML page using Thymeleaf for health checks.
-
Custom Exceptions and Response Objects:
- Developed custom exceptions for better error handling.
- Created custom response objects.
-
Custom RestApiController Annotation:
- Implemented a custom annotation to streamline controller configurations.
-
CRUD Operations:
- Implemented CRUD operations for all entities, including Vehicle, Staff, MonitoringLog, Field, Equipment, and Crop.
-
Exception Handling:
- Added exception handling mechanisms to controllers to manage specific exceptions.
- Created a global exception handler to manage and handle all exceptions uniformly across the application.
-
Logging and Validation:
- Implemented logging using Logback and
@Slf4j
annotations. - Applied validation to DTOs and controller classes using Hibernate Validator.
- Implemented logging using Logback and
-
Spring Security:
- Fully implemented Spring Security using OAuth2.0 and JWT authentication/token generation.
- Applied access limitations for related endpoints to ensure authorized access.
-
LoggingAspect:
- Developed a class to handle all logging aspects of controller methods.
-
Email Util and OTP Manager:
- Enhanced user authentication and communication.
- Created HTML templates for account deactivation, email verification, and password reset scenarios.
-
WebConfig and Dashboard:
- Implemented CORS policy handling.
- Created a Dashboard controller and service layer for frontend integration.
-
Filtering Functionality:
- Implemented filtering for Vehicle, MonitoringLog, and Staff entities.
- Enhanced querying and data retrieval based on specific criteria.
-
Documentation:
- Developed a comprehensive
README.md
file detailing the backend functionalities and usage examples.
- Developed a comprehensive
This release provides a solid foundation for the FieldGuardian application, ensuring stability, functionality, and maintainability. We look forward to your feedback and contributions as we continue to enhance and expand the capabilities of FieldGuardian-BACKEND.