Coding task · NestJS course · Module 1: NestJS Basics

Controller with CRUD Methods

Create a controller with a full set of CRUD methods.

Task

Write a TributesController with the @Controller('tributes') decorator and four methods: findAll with @Get(), create with @Post(), update with @Put(':id'), and remove with @Delete(':id').