reest
Version:
A library inspired by NestJS's elegance, specifically designed for efficient serverless API development on AWS Lambda. It streamlines the creation of microservices with automated Swagger documentation and enhanced decorator-based middleware support, makin
32 lines (26 loc) • 625 B
Markdown
```javascript
import { Controller, Delete, Get, Param, Patch, Put } from "reest";
export class CatsController {
findAll() {
return "This action returns all users";
}
findOne( id: string) {
return `This action returns a user with id ${id}`;
}
create() {
return "This action adds a new user";
}
update( id: string) {
return `This action updates a user with id ${id}`;
}
remove( id: string) {
return `This action removes a user with id ${id}`;
}
}
```