Giter Site home page Giter Site logo

bezkoder / redux-toolkit-authentication Goto Github PK

View Code? Open in Web Editor NEW
33.0 2.0 21.0 264 KB

React Redux Toolkit Authentication & Authorization example with React Router, Axios, Bootstrap, Hooks and JWT in HttpOnly Cookie

HTML 6.82% CSS 3.91% JavaScript 89.27%
authentication authorization jwt jwt-auth jwt-authentication jwt-token react react-hooks react-redux reactjs redux redux-toolkit form-validation login-page bootstrap4 react-router react-router-dom

redux-toolkit-authentication's Introduction

Redux-toolkit Authentication & Authorization example

  • JWT Authentication & Authorization Flow for User Login, Register, Logout
  • Project Structure for React Redux JWT Authentication, Router, Axios
  • Working with Redux Actions, Reducers, Store using redux-toolkit
  • Storing JWT in HttpOnly Cookies
  • Creating React Function Components with Hooks & Form Validation
  • React Function Components for accessing protected Resources (Authorization)
  • Dynamic Navigation Bar in React App

For more detail, please visit:

React Redux Authentication & Authorization example with Redux-toolkit

Signup Page:

redux-toolkit-authentication-signup

Login Page:

redux-toolkit-authentication-login

For Authorized account login (Moderator for example), the navigation bar will change:

redux-toolkit-authorization

Working with back-end servers:

Spring Boot + H2

Spring Boot + MySQL/PostgreSQL

Spring Boot + MongoDB

Node Express + MySQL/PostgreSQL

Node Express + MongoDB

Related Posts (without redux-toolkit):

React Redux Login, Logout, Registration example with Hooks

Fullstack (JWT Authentication & Authorization example):

React + Spring Boot

React + Node Express

This project was bootstrapped with Create React App.

Project setup

In the project directory, you can run:

npm install
# or
yarn install

or

Compiles and hot-reloads for development

npm start
# or
yarn start

Open http://localhost:8081 to view it in the browser.

The page will reload if you make edits.

Related Posts

In-depth Introduction to JWT-JSON Web Token

React CRUD example using Hooks

React Pagination using Hooks example

React Hooks File Upload example

React Form Validation with Hooks example

Fullstack with Node Express:

React + Node Express + MySQL

React + Node Express + PostgreSQL

React + Node Express + MongoDB

Fullstack with Spring Boot:

React + Spring Boot + MySQL

React + Spring Boot + PostgreSQL

React + Spring Boot + MongoDB

Fullstack with Django:

React Hooks + Django Rest Framework

Serverless:

React Hooks Firebase Realtime Database: CRUD App

React Hooks Firestore example: CRUD App

Integration (run back-end & front-end on same server/port)

Integrate React with Spring Boot

Integrate React with Node Express

redux-toolkit-authentication's People

Contributors

tienbku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.