Server/src
M1000fr b40249fdfb feat: Add class-transformer and class-validator packages
- Added "@nestjs/mapped-types" package to package.json
- Added "class-transformer" and "class-validator" packages to package.json
- Imported ValidationPipe from "@nestjs/common" in main.ts and added it as a global pipe
- Added validation decorators to CreateUserInput, SetUserPasswordInput, and UpdateUserInput classes
- Created UserController with create, findAll, and removeUser methods
- Updated UserEntity class with @Exclude decorator for password field
- Updated UserModule to include UserController
- Updated UserService to use class-transformer for mapping Prisma entities to UserEntity class
- Updated UserService to return UserEntity instances instead of Prisma entities
- Updated UserService to handle NotFoundException for setPassword and remove methods
2024-11-28 15:53:38 +01:00
..
auth feat: add authentication using Discord oauth2 and JWT 2024-11-28 15:25:01 +01:00
prisma Ref: file paths 2024-11-28 14:28:41 +01:00
user feat: Add class-transformer and class-validator packages 2024-11-28 15:53:38 +01:00
app.module.ts feat: remove graphql due to complexity of stack 2024-11-28 15:32:44 +01:00
app.service.ts feat: add auth using jwt 2024-11-24 02:34:20 +01:00
main.ts feat: Add class-transformer and class-validator packages 2024-11-28 15:53:38 +01:00