mosh-hamedani / vidly-api-node

309 stars 282 forks source link

Section Authentication and Authorization can not be learnt and followed #24

Open ybakhshi opened 4 years ago

ybakhshi commented 4 years ago

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

sajib21 commented 4 years ago

@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.

bradstevanus1 commented 4 years ago

@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).

sajib21 commented 4 years ago

@bradstevanus1 i solved it by uninstalling and installing bcrypt.

Zucci-Daniel commented 3 years ago

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…]()

the-black-viper commented 3 years ago

@Zucci-Daniel I fixed this using bcrypt 5.0.0