/mentor-ui

Primary LanguageTypeScript

React Typescript Login example with Axios and Web API

Build React Typescript Login and Registration example with 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 Login and Registration example

React Typescript Login and Registration example (using Hooks)

Signup Page:

react-typescript-login-example-signup

Form Validation:

react-typescript-login-example-form-validation

Login Page:

react-typescript-login-example-login

Profile Page:

react-typescript-login-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 Typescript CRUD example with Axios and Web API

React Hooks Typescript CRUD example with Axios and Web API

React (Javascript) CRUD example to consume Web API

React Hook Form Typescript example with Validation

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 Typescript Firebase example: Build CRUD App

React Typescript Firestore example: Build CRUD App

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

How to integrate React with Spring Boot

Integrate React with Node Express on same Server/Port

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.

Link