Giter Site home page Giter Site logo

bezkoder / react-typescript-authentication-example Goto Github PK

View Code? Open in Web Editor NEW
78.0 3.0 28.0 598 KB

React Typescript JWT authentication and authorization example with Hooks, React router, Axios - Role based authentication example

Shell 0.04% HTML 7.93% CSS 4.64% TypeScript 87.39%
react react-typescript typescript authentication authorization hooks react-hooks axios token-based-authentication token-authorization react-router login registration

react-typescript-authentication-example's Introduction

React Typescript Authentication example with Hooks, Axios and Rest API

Build React Typescript Authentication and Authorization example using React Hooks, React Router, Axios and Bootstrap (without Redux):

  • JWT Authentication Flow for User Signup & User Login
  • Project Structure for React Typescript Authentication (without Redux) with React Router & Axios
  • Creating React Components with Form Validation using Formik and Yup
  • React Typescript Components for accessing protected Resources (Authorization)
  • Dynamic Navigation Bar in React Typescript App

For instruction, please visit:

React Typescript Authentication example with Hooks, Axios and Rest API

Signup Page:

react-typescript-authentication-example-signup

Form Validation:

react-typescript-authentication-example-form-validation

Login Page:

react-typescript-authentication-example-login

Profile Page:

react-typescript-authentication-example-profile-page

This React Client works well with following back-end Server:

Spring Boot: JWT Authentication & Authorization with MySQL

Spring Boot: JWT Authentication & Authorization with PostgreSQL

Spring Boot: JWT Authentication & Authorization with MongoDB

Node Express: JWT Authentication & Authorization with MySQL

Node Express: JWT Authentication & Authorization with PostgreSQL

Node Express: WT Authentication & Authorization with MongoDB

Related Posts:

React Hooks Typescript example Project with Axios and Web API

React (Javascript) CRUD example to consume Web API

React Redux CRUD App example with Rest API

React (Hooks) CRUD example to consume Web API

React Table example: CRUD App with react-table v7

Using Material UI instead of Bootstrap:

React Material UI examples with a CRUD Application

More Practice:

React Pagination example

React File Upload example

React JWT Authentication & Authorization example

React + Redux: JWT Authentication & Authorization 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 + Django Rest Framework

Serverless:

React Firebase CRUD App with Realtime Database

React Firestore CRUD App example | Firebase Cloud Firestore

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

Integrate React with Spring Boot

Integrate React with Node Express

This project was bootstrapped with Create React App.

Set port

.env

PORT=8081

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.

react-typescript-authentication-example'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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.