vidly-api-node icon indicating copy to clipboard operation
vidly-api-node copied to clipboard

Section Authentication and Authorization can not be learnt and followed

Open ybakhshi opened this issue 5 years ago • 5 comments

Because of the issue in backed where the mongo database is not populated with users and auth collections, this sections is really a waste of time and very disappointing to the whole course which is designed very well!

@mosh-hamedani Could please fix the issue bcrypt and particularly why the database is not populated with Users and Auth collections and how to add them.

I am using windows 10

Thanks

ybakhshi avatar Feb 03 '20 22:02 ybakhshi

@ybakhshi I am having a similar problem. Did you find a solution? After node seed.js ing, I am getting only the Genres and Movies collections, Users is not there.

sajib21 avatar May 02 '20 11:05 sajib21

@sajib21 Were you able to resolve this? Edit: bcrypt version 3.0.7 seems to solve this issue; the users table is created correctly (PR: https://github.com/mosh-hamedani/vidly-api-node/pull/25).

bradstevanus1 avatar May 17 '20 19:05 bradstevanus1

@bradstevanus1 i solved it by uninstalling and installing bcrypt.

sajib21 avatar May 17 '20 20:05 sajib21

i tried uninstalling the bcrypt and reinstalling it again, this time is version 5.0.1 and it's not working, any help pls Uploading postman.PNG…

Zucci-Daniel avatar May 09 '21 15:05 Zucci-Daniel

@Zucci-Daniel I fixed this using bcrypt 5.0.0

the-black-viper avatar Jul 19 '21 00:07 the-black-viper