since you're checking for the username to not be used before in your validation file https://github.com/FACG2/twitter/blob/6cf790b697cb90386dd64a14c4d99bc0631ec652/src/validation.js#L68 maybe it would be better to make it a constraint in your schema. https://github.com/FACG2/twitter/blob/6cf790b697cb90386dd64a14c4d99bc0631ec652/src/database/db_build.sql#L7
since you're checking for the username to not be used before in your validation file
twitter/src/validation.js
Line 68 in 6cf790b
maybe it would be better to make it a constraint in your schema.
twitter/src/database/db_build.sql
Line 7 in 6cf790b