@Controller('users')
export class UserController {
constructor(private readonly createUserService: CreateUserService){ }
@Post()
function create () {
return this.createUserService.execute({
name: 'Lucas Matheus',
email: '[email protected]',
age: 22
});
}
}
sirlucasm Goto Github PK
Name: Lucas Matheus
Type: User
Company: Software Developer at AGL Solutions.
Bio: Currently working with NestJS and ReactJS. I'm always learning and living.
Location: Brazil
Blog: https://lojinhah.com.br