React Hooks: JWT Authentication (without Redux) example

In this tutorial, we’re gonna build a React Hooks JWT Authentication example with LocalStorage, React Router, Axios and Bootstrap (without Redux). I will show you:

  • JWT Authentication Flow for User Signup & User Login
  • Project Structure for React Hooks JWT Authentication (without Redux) with LocalStorage, React Router & Axios
  • Creating React Function Components with Hooks & Form Validation
  • React Function Components for accessing protected Resources (Authorization)
  • Dynamic Navigation Bar in React Hooks App

Related Posts:
In-depth Introduction to JWT-JSON Web Token
React Hooks CRUD example with Axios and Web API
React Hooks File Upload example with Axios & Progress Bar

Fullstack (JWT Authentication & Authorization example):
React + Spring Boot
React + Node.js Express

The example without using Hooks:
React JWT Authentication (without Redux) example

Read More

React File Upload/Download example with Spring Boot Rest Api

In this tutorial, I will show you way to build React.js File Upload example with Spring Boot Rest APIs. The React App uses Axios and Multipart File for making HTTP requests, Bootstrap for progress bar. You also have a display list of files’ information (with download url).

More Fullstack Practice:
Spring Boot + React: CRUD example
Spring Boot + React: JWT Authentication with Spring Security

Read More