JWT Authentication using Axios interceptors

You can check the blog post here.

Setup

You can make a copy with:

npx degit mihaiandrei97/blog-refresh-token-interceptor react-auth

After that:

cd react-auth/react-auth-start
npm i
npm run dev

OR

cd react-auth/react-auth-finished
npm i
npm run dev