Menu

Tree [ce744d] main /
 History

HTTPS access


File Date Author Commit
 db 2021-09-08 Tharindu Weerasinghe Tharindu Weerasinghe [d8cf3b] Add files via upload
 public 2021-09-08 Tharindu Weerasinghe Tharindu Weerasinghe [d8cf3b] Add files via upload
 views 2021-09-08 Tharindu Weerasinghe Tharindu Weerasinghe [d8cf3b] Add files via upload
 LICENSE 2021-09-08 Tharindu Weerasinghe Tharindu Weerasinghe [d8cf3b] Add files via upload
 README.md 2021-09-08 Tharindu Weerasinghe Tharindu Weerasinghe [ce744d] Update README.md
 npm-debug.log 2021-09-08 Tharindu Weerasinghe Tharindu Weerasinghe [d8cf3b] Add files via upload
 package-lock.json 2021-09-08 Tharindu Weerasinghe Tharindu Weerasinghe [d8cf3b] Add files via upload
 package.json 2021-09-08 Tharindu Weerasinghe Tharindu Weerasinghe [d8cf3b] Add files via upload
 server.js 2021-09-08 Tharindu Weerasinghe Tharindu Weerasinghe [d8cf3b] Add files via upload

Read Me

(-/+)Tharindu - START Orginal solution by: https://github.com/passport/express-4.x-local-example (-/+)Tharindu - FINISH

This example demonstrates how to use Express 4.x and
Passport to authenticate users using a username and
password with form-based authentication.
Use this example as a starting point for your own web applications.

Instructions

To install this example on your computer, clone the repository and install all needed
dependencies.

$ npm install

Start the server.

$ node server.js

(-/+)Tharindu - START Open a web browser and navigate to [http://localhost:3000/](http://127.0.0.1:3000/) to see the example in action. Log in using username `jack` and password `secret`. (-/+)Tharindu - FINISH

(+)Tharindu - START
Open a web browser and navigate to http://localhost:3000/
to see the example in action. Log in using username man and password pwd.
(+)Tharindu - FINISH

Sponsor

MongoDB Logo MongoDB