devsoc-unsw / trainee-uranus-24t1

3 stars 1 forks source link

Finish Backend ꒰ᐢ. .ᐢ꒱₊˚⊹ #17

Closed Chinosu closed 4 months ago

Chinosu commented 5 months ago

Data filtering/sanitising We go out of our way to remove any extra fields to prevent adding unexpected stuff to the database

Data Validation Requests with invalid data (i.e., an empty password, a non-integer age) will now be rejected

Hashed Passwords They're no longer in plain text on the database

Refactoring We now have an abstract CustomError, a concrete BadRequestError and matching error handler middleware

Chinosu commented 4 months ago

@marktran2