Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Demonstration of PassportJS authentication in React w/ Redux.

License

Notifications You must be signed in to change notification settings

kilkelly/react-passport-redux-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-Passport-Redux-Example

Demonstration of PassportJS authentication in React w/ Redux.

Installation

First install node.js and mongodb. Then:

npm install

Running in production mode

npm run start

then open http://localhost:3000/ in your browser

Running in development mode

(mostly to allow hot-reloading of React components)

npm run start:dev

Rebuilding production files

npm run build

This repo demonstrates:

Main

  • React for the view layer
  • PassportJS for authentication (using a Local Strategy)
  • Redux to handle our state

Secondary

Shoutout to GitHub member choonkending whose repo was a big help. Pull requests and comments / issue reports are most welcome!

About

Demonstration of PassportJS authentication in React w/ Redux.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published