Mongoose Email Syntax Validation Task
Mongoose Email Syntax Validation Task: a task in Terminal-Lego-15k (Harbor dataset). Implement a Mongoose schema for users that validates email addresses for proper syntax, not just checking if the field is empty. The validation should reject invalid email formats and accept valid ones.
The task
Implement a Mongoose schema for users that validates email addresses for proper syntax, not just checking if the field is empty. The validation should reject invalid email formats and accept valid ones.
Part of PrimeIntellect/Terminal-Lego-15k.