This is an example of React Redux JWT authentication with a Node server. This was created with the help of Stephen Grider's Advanced React Redux course on Udemy: https://www.udemy.com/react-redux-tutorial
It was challenging for me to find a simple example of how to implement authentication with React Redux and Node, so I hope this may help others.
npm setup
- Start mongo on you machine:
mongod
- Start dev server:
npm run startServer
- Start the client within
public
directory by typingwebpack-dev-server
- Visit http://localhost:8080