-
we need to run the server.js by accessing my sandbox link(https://codesandbox.io/p/sandbox/server-authentication-js-757mx8) file in the Project for examining How the project works.
-
install npm modules.
-- npm install express
-- npm install -g --force nodemon
-- npm install ejs
-- npm install bcrypt
-- npm install passport
-- npm install passport-local
-- npm install express-flash
-- npm install express-session
-- npm install dotenv
- after running command (nodemon server.js) user will go on register page
- after the succesfull register of the user it will come on Login page
- after entering the correct username password it will open the index.ejs file