Modify bcrypt to bcryptjs and modifications to .gitignore so node_modules aren't stored

This commit is contained in:
Lucas Patenaude
2024-03-15 03:21:45 -06:00
parent 3adc3f0980
commit 1d1dc1357e
4 changed files with 24 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ const path = require('path');
const pgp = require('pg-promise')(); // To connect to the Postgres DB from the node server
const bodyParser = require('body-parser');
const session = require('express-session'); // To set the session object. To store or access session data, use the `req.session`, which is (generally) serialized as JSON by the store.
const bcrypt = require('bcrypt'); // To hash passwords
const bcrypt = require('bcryptjs'); // To hash passwords
const axios = require('axios'); // To make HTTP requests from our server. We'll learn more about it in Part C.
// *****************************************************