https://github.com/belanasaikiran/nodeauthentication-security
https://github.com/belanasaikiran/nodeauthentication-security
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/belanasaikiran/nodeauthentication-security
- Owner: belanasaikiran
- License: mit
- Created: 2022-12-28T02:35:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-06T09:08:32.000Z (over 2 years ago)
- Last Synced: 2025-01-31T12:48:57.028Z (4 months ago)
- Language: JavaScript
- Size: 98.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NodeAuthentication-Security
## Level 4 - Salting and Hashing Passwords with bcrypt
```
npm i bcrypt
```## Level 5- Using `passport.js` to add Cookies & Sessions
### Requirements
1. [passport](https://www.npmjs.com/package/passport)
2. [passport-local](https://www.npmjs.com/package/passport-local)
3. [passport-local-mongoose](https://www.npmjs.com/package/passport-local-mongoose)
4. [Express-Session](https://www.npmjs.com/package/express-session)> packages:
```
npm i passport passport-local passport-local-mongoose express-session
```