Skip to content

Project demonstrating the use of JWT in a React App

License

Notifications You must be signed in to change notification settings

kevcodez/react-jwt

Repository files navigation

React JWT

This project is based off an auth0.com Tutorial

However, the tutorial from auth0 was written in Januar 2016 and quite a few things changed since.

As backend nodejs-jwt-authentication-sample is used.

Run Requirements

  • NodeJS
  • NPM
  • Yarn

Run

Start the nodejs-jwt-authentication-sample

git checkout https://github.com/auth0-blog/nodejs-jwt-authentication-sample.git
cd nodejs-jwt-authentication-sample
npm install
node server.js

Start the React App

git checkout https://github.com/kevcodez/react-jwt.git
cd react-jwt
yarn
yarn start

Access http://localhost:3000/

Default-User is gonto:gonto