bradtraversy / node_passport_login

Node.js login, registration and access control using Express and Passport
1.74k stars 1.29k forks source link

update gitignore, body parser, create config, refactoring #33

Closed olehcambel closed 4 years ago

olehcambel commented 5 years ago

In this commit I have moved auth and passport into middleware and module, cause they seem to be there. Also, created config_example, so users will create copy as config and put their credentials and added files like package-lock.json, yarn.lock, config to .gitignore. That's it!

paveltar commented 5 years ago

Why would you want to ignore package-lock.json ? You have a lot of carets in your package.json though.

olehcambel commented 5 years ago

Hi, I found it's running with issues like "npm WARN tar ENOENT: no such file or directory" between different platforms and conflict when you run yarn install which ask to remove package-lock.json.