npm i @nestjs/typeorm typeorm pg @nestjs/config npm i class-validator class-transformer @nestjs/mapped-types
- Turn On Global Validation
- Wire the Database
- Build the Entities -
nest g module users
nest g module workspaces
nest g module projects
nest g module tasks
- userEntity - id, name, email, password ( select false to not show in response)
- workSpaceEntity , projects entity and module tasks
- now lets work on Users first
- register the Entity in Module and Inject in Service