Giter VIP home page Giter VIP logo

thenewc0der-24 / login-with-passport.js Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 7.96 MB

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.

License: MIT License

JavaScript 71.86% HTML 4.16% CSS 23.98%
cookie-session cors expressjs passport-js react-router reactjs

login-with-passport.js's Introduction

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 ๐Ÿ˜Š

login-with-passport.js's People

Contributors

dependabot[bot] avatar thenewc0der-24 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.