Put in order · NestJS course · Module 4: Authentication
Registration DTO validation
Order the registration data validation steps from most basic to most specific
Items to put in order
- Check that fields are not empty (@IsNotEmpty)
- Verify username uniqueness in the database
- Check minimum password length (@MinLength)
- Validate email format (@IsEmail)
You can check the correct answer by solving this task in the CodeWorlds game.