Skip to content

v1.0.0 - FieldGuardian-BACKEND ( Initial release )

Latest
Compare
Choose a tag to compare
@gayanukabulegoda gayanukabulegoda released this 05 Dec 21:34
70a8e37

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:

  1. Entities and DTOs:

    • Defined core data structures and efficient data exchange mechanisms.
    • Implemented related Enums to represent constant values.
  2. Utility Classes:

    • Developed utility classes for common functionalities.
    • Enhanced data conversion and mapping using ModelMapper and custom converters.
  3. Property Files and Custom Banner:

    • Included essential property files for application settings.
    • Added a custom banner.txt for application startup.
  4. 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.
  5. HealthTestController:

    • Added a controller to return an HTML page using Thymeleaf for health checks.
  6. Custom Exceptions and Response Objects:

    • Developed custom exceptions for better error handling.
    • Created custom response objects.
  7. Custom RestApiController Annotation:

    • Implemented a custom annotation to streamline controller configurations.
  8. CRUD Operations:

    • Implemented CRUD operations for all entities, including Vehicle, Staff, MonitoringLog, Field, Equipment, and Crop.
  9. 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.
  10. Logging and Validation:

    • Implemented logging using Logback and @Slf4j annotations.
    • Applied validation to DTOs and controller classes using Hibernate Validator.
  11. Spring Security:

    • Fully implemented Spring Security using OAuth2.0 and JWT authentication/token generation.
    • Applied access limitations for related endpoints to ensure authorized access.
  12. LoggingAspect:

    • Developed a class to handle all logging aspects of controller methods.
  13. Email Util and OTP Manager:

    • Enhanced user authentication and communication.
    • Created HTML templates for account deactivation, email verification, and password reset scenarios.
  14. WebConfig and Dashboard:

    • Implemented CORS policy handling.
    • Created a Dashboard controller and service layer for frontend integration.
  15. Filtering Functionality:

    • Implemented filtering for Vehicle, MonitoringLog, and Staff entities.
    • Enhanced querying and data retrieval based on specific criteria.
  16. Documentation:

    • Developed a comprehensive README.md file detailing the backend functionalities and usage examples.

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.