Skip to main content

BezKoder

  • Courses
  • Full Stack
  • Spring
  • Node
  • Vue
  • Angular
  • React
  • Firebase
  • Django
  • Dart
  • JsonFormatter
  • Categories

Tag: authentication

Spring Boot Login and Registration example with MongoDB

Last modified: December 23, 2022 bezkoder 4 Comments

This tutorial helps you build a Spring Boot + MongoDB: Login & Registration example with HttpOnly Cookie, JWT, Spring Security and Spring Data MongoDB. You’ll know:

  • Appropriate Flow for User Login and Registration with JWT
  • Spring Boot Rest API Architecture with Spring Security
  • How to configure Spring Security to work with JWT
  • How to define Data Models and association for User Login and Registration
  • Way to get and generate Cookies for Token
  • Way to use Spring Data MongoDB to interact with MongoDB Database

More Practice:
– Spring Boot with MongoDB CRUD example using Spring Data
– Spring Boot MongoDB Pagination example with Spring Data
– Spring Boot + GraphQL + MongoDB example
– Spring Boot Unit Test for Rest Controller

Read More

Node.js Express: Login and Registration example with JWT

Last modified: May 24, 2022 bezkoder 6 Comments

In this tutorial, we’re gonna build a Node.js Express Login and Registration Rest API example that supports JWT (JSONWebToken) and works with MySQL database. You’ll know:

  • Appropriate Flow for User Login and Registration with JWT Authentication
  • Node.js Express Architecture with CORS, Authentication & Authorization middlewares & Sequelize
  • How to configure Express routes to work with JWT
  • How to define Data Models and association for Authentication and Authorization
  • Way to use Sequelize to interact with MySQL Database

Read More

Spring Boot Login example: Rest API with MySQL and JWT

Last modified: December 23, 2022 bezkoder 9 Comments

In this tutorial, we’re gonna build a Spring Boot Login and Registration example (Rest API) that supports JWT with HttpOnly Cookie. You’ll know:

  • Appropriate Flow for User Login and Registration with JWT and Cookies
  • Spring Boot Rest Api Architecture with Spring Security
  • How to configure Spring Security to work with JWT
  • How to define Data Models and association for Authentication and Authorization
  • Way to use Spring Data JPA to interact with MySQL Database

– Related Posts:

  • Using Token in HTTP Headers
  • Spring Boot, Spring Data JPA: Rest CRUD API example
  • Spring Boot File upload example
  • @RestControllerAdvice example in Spring Boot
  • Spring Boot @ControllerAdvice & @ExceptionHandler example
  • Spring Boot Unit Test for JPA Repositiory
  • Spring Boot Unit Test for Rest Controller

Other Databases:
– Spring Boot Login and Registration example with JWT and H2
– Spring Boot Login and Registration example with JWT and MongoDB

Deployment:

  • Deploy Spring Boot App on AWS – Elastic Beanstalk
  • Docker Compose: Spring Boot and MySQL example

Read More

Node.js Express and MongoDB: Login and Registration example

Last modified: May 19, 2022 bezkoder 9 Comments

In this tutorial, we’re gonna build a Node.js Express Login and Registration Rest API example that supports JWT (JSONWebToken) and works with MongoDB database using Mongoose ODM. You’ll know:

  • Appropriate Flow for User Login and Registration with JWT Authentication
  • Node.js Express Architecture with CORS, Authentication & Authorization middlewares & Sequelize
  • How to configure Express routes to work with JWT
  • How to define Data Models and association for Authentication and Authorization
  • Way to use Mongoose ODM to interact with MongoDB Database

Read More

React Typescript Login and Registration example

Last modified: December 12, 2022 bezkoder 9 Comments

In this tutorial, we’re gonna build a React Typescript: Login and Registration example with React Router, Axios and Bootstrap (without Redux). I will show you:

  • 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

Related Posts:
– In-depth Introduction to JWT-JSON Web Token
– React Typescript CRUD example Project with Axios and Web API
– React Typescript File Upload example

Fullstack (JWT Authentication & Authorization example):
– React + Spring Boot
– React + Node Express + MySQL/PostgreSQL
– React + Node Express + MongoDB

Using Typescript with React Hooks instead:
React Typescript Authentication example with Hooks
React Custom Hook in Typescript example

Read More

Posts navigation

Newer posts 1 … 5 6 7 … 17 Older posts

Follow us

  • Facebook
  • Youtube
  • Github

Tools

  • Json Formatter
  • .
  • Privacy Policy
  • Contact
  • About
DMCA.com Protection Status © 2019-2022 bezkoder.com