Skip to content

05rahul2000/Server_authentication_js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server_authentication_Node_js

Setup

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

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

Working

  1. after running command (nodemon server.js) user will go on register page

2022-07-14 (3)

  1. after the succesfull register of the user it will come on Login page

2022-07-14 (4)

  1. after entering the correct username password it will open the index.ejs file

2022-07-14 (2)