Sequelize Model Validation
About this Workshop
When working with an ORM library like Sequelize, you can take advantage of its built-in data validation and constraint capabilities. In this workshop, you'll continue to use Sequelize to write robust server-side data validation for a REST API developed with Express. The API allows you to create a user account and retrieve a list of user accounts.
What you'll learn
- Set validation rules for models
- Set constraint rules
- Use range validation for passwords
- Protect passwords before storing them in a database