Nodejs and mysql using sequelize part 12 - User Creation Pt 2, verifying usernames AGAIN!!!

preview_player
Показать описание
So this video got broken into 2 pieces because I don't want to make tutorials that are hours long, but hey if that's something anyone wants let me know.

Any questions feel free to leave me a comment or hit me up on one of the below. Also!!! Seeing as I'm creating a tutoring app I'm also starting a tutoring service. 1 on 1, low cost, with me if you feel like you need the extra help or have a question you can't put in the comment section.

tags: #nodejs #sequelize #javascript
Рекомендации по теме
Комментарии
Автор

Thanks for these tutorial videos! I am getting the last test in user_db.text.js failing because of: `AssertionError: expected { Object (dataValues, _previousDataValues, ...) } to be true`. It appears that UsernameExists is returning the user object instead of true when it finds it. Once I switched it to `return true;`, that test passed fine. I'm not sure why it was working fine for you that way.

dmikester