CADELmx / GPD_BACKEND

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

Subjects module added #18

Closed DiegoSHS closed 2 months ago

DiegoSHS commented 2 months ago

Overview

This pull requests add new SubjectModule module for crud operations

Changes

Details

  1. SubjectService

    • create(): Creates a new subject.
    • findByProgram(): Returns all subjects of an educational.
    • findOne(): Returns a subject by its id.
    • findAll(): Returns all subjects.
    • update(): Updates a subject by its id
  2. SubjectController

    • create(): Handles the post request to create a new subject.
    • findAll(): Handles the get request to get all subjects.
    • findOne(): Handles the get request to get a subject by id.
    • findByProgram(): Handles the get request to get all subjects by program id.
    • update(): Handles the patch request to update a subject.
  3. JSDoc Documentation

    • Added detailed documentation to all methods and classes in the SubjectController and SubjectService for better understanding and maintenance.

Related Issues

if is related to an issue or can close an issue

Notes

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

github-actions[bot] commented 2 months ago

Dependency Review

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

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files