CADELmx / GPD_BACKEND

This is a NESTjs project that implements the GPD project's backend logic
MIT License
1 stars 0 forks source link

Educational programs module added #19

Closed Ana202016 closed 3 months ago

Ana202016 commented 3 months ago

General description

This request includes adding validations when adding, modifying and deleting an educational program EducationalPrograms. It includes the modification of the source codes to execute data validation.

Changes

Details

  1. Educational Program Controller

    • create():Handles POST requests to create new educational programs.
    • findAll(): Handles GET requests to retrieve all educational programs.
    • findOne(): Handles GET requests to retrieve educational programs by ID.
    • update(): Handles PATCH requests to update an Educational Program by ID.
    • remove():Remove an educational program by ID, after receiving confirmation from the user.
  2. Educational programs Service

    • create():Validates and creates a new Educational Program.
    • findAll(): Validates and recovers all educational programs, if records are found.
    • byId(): Validates and retrieves an educational program by ID, verifying that it exists.
    • update(): Validates and updates the information of an Educational Program by ID.
    • remove():Remove an educational program by ID. Waiting for user confirmation.
  3. DTOs

    • CreateEducationalProgramsDto():Defines the data structure to create an Educational Program. Including the type of data you expect, to implement data validation.
    • UpdateEducationalProgramsDto(): Defines the data structure to update an Educational Program. Including the type of data you expect, to implement data validation.
  4. JSDoc Documentation

    • Added detailed documentation to all methods and classes in ModuleOrCode and ModuleOrCode for better understanding and maintenance.

Related matters

if it is related to a problem or can

Grades

Thank you for reviewing this pull request. I look forward to your feedback.

github-actions[bot] commented 3 months ago

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

DiegoSHS commented 3 months ago

Merge conflicts resolved, done