Closed Devesh21700Kumar closed 3 years ago
@Abhishek-kumar09 the extra fields that will be required have been added along with the review endpoints
Please add swagger response body for this PR.
ok
Please add swagger response body for this PR.
There is no option to get all the reviews on a course. Add a get request that fetches all the review for a course.
@Abhishek-kumar09 The reviews are populated in the getall courses in the reviews object and also in the getcoursebyId endpoint in the reviews object
So with this, all reviews will be available for that course.
@Abhishek-kumar09 the changes have been made
@Abhishek-kumar09 courseLevel converted to enum type and @Isenum prop added to both and tags converted to array
@Abhishek-kumar09 added swagger for the new routes and merged conflcts
Add extra fields that will be needed in the course schema and dtos for client side integration:-
1). tags with its enums 2). courseDetails 3). courseLevel 4). courseThumbnail 5). courseTrailerUrl
Also added the review schema and its dtos and its create, update and delete endpoints with its enums for training field