Closed chrxr closed 4 years ago
As discussed with @natalynyu and @jonseitz we won't be using https://docs.nestjs.com/recipes/crud. This is for the following reasons:
@crud
decorator requires a service to be provided that is compatible with their base service(active record entity classes are NOT compatible with this)I've edited @chrxr's comment slightly above to add "Auth" to the checkboxes because I'm assuming that we don't want any logged in user to be able to access this controller?
Currently on hold as app authentication for dev is being reviewed. @rmainseas to open new ticket for dev authentication and include ref in this ticket.
Ticket opened #134 for authentication refactoring.
API endpoint for CRUD operations on courses, for courses admin interface.
It is expected that we will need a controller for each interface. Therefore it is not expected that this controller will be used anywhere expect in the courses admin interface.
Question: Is there a built-in technique for providing all CRUD operations easily? https://docs.nestjs.com/recipes/crud
[x] Read
[x] Authentication
[x] Authorization
[x] Docs
[x] Tests