Login with Passport.JS

About

Passport is authentication middleware for Node. js. As it’s extremely flexible and modular, Passport can be unobtrusively dropped into any Express-based web application. A comprehensive set of strategies supports authentication using a username and password, Facebook, Twitter, and more.

Features

User can log in with their Google, Facebook and GitHub account.

Here in this application you will see 3 cards with some data and if you want to Read More about the data then you will have to log in this application.

The authentication is done with Passport.JS

Built With

React.JS express.JS Passport.JS

Dependencies Installed

npm install react-icons --save
npm install react-router-dom
npm install express
npm install passport
npm install cors
npm install nodemon
npm install cookie-session
npm install passport-google-oauth20
npm install passport-github2
npm install passport-facebook

Preview

How to run application:

To start the Project in localhost, you just have to clone this repository and run the below 👇 command in terminal:

For client-

cd client
npm run start

For backend-

cd backend
npm start

The above command will help you to start the react development server and also to start the backend server.


Hope you like this application 😊

GitHub

View Github