Recently Released.

Newly Released in the last 30 days
Video preview
Adocasts Plus Exclusive
Exclusive
Listing Access Tokens

Listing an Organization's Access Tokens

In this lesson, we'll query all of our organization's access tokens and filter out any tokens that are expired. Then, we'll list the organization's tokens showing it's name, abilities, when it was created, and when it was last used.

Video preview
Adocasts Plus Exclusive
Free in 23 hours
OAT vs JWT

Opaque Access Tokens (OAT) vs JSON Web Tokens (JWT)

In this lesson, we'll take a step back to understand the differences between the tokens we're using, which are Opaque Access Tokens (OAT), and JSON Web Tokens (JWT). We'll discuss security, scalability, and what makes up each token.

Video preview
Creating Access Tokens Part 2: VueJS

Creating Access Tokens Part 2: Inertia/Vue

In this lesson, we'll rig up the create access token route we created in the last lesson to a form within our Vue application. We'll also stub the overall manage access tokens card for the organization itself.

Video preview
Creating Access Tokens Part 1: AdonisJS

Creating Access Tokens Part 1: AdonisJS

In this lesson, we'll add a route to the settings portion of our application allowing the user to create an opaque access token (OAT), with the desired permissions, for the active organization.

Video preview
Access Token Abilities

Defining Access Token Abilities & DTO

In this lesson, we'll finish up our preparation work by creating a data transfer object (DTO) for our access tokens. Then, we'll define what our token abilities will be within our application's API.

Video preview
Separation of Concerns

Separation of API & Web Auth Guard Concerns

In this lesson, we'll restrict our routes to their applicable authentication guard. Ensuring our web routes can properly authorize using their role-based authorization and our API can properly authorize using our access token abilities.

Video preview
Configuring Api Authentication

Configuring Access Token Auth on top of Session Auth

In this lesson, we'll get opaque access tokens configured within our AdonisJS application on top of the already configured session/web authentication. This will include configuring the guard and setting up the db access token provider.

Video preview

Overview of our Database Schema

In this lesson, we'll take a high level look at our database's schema so that we have an understanding at the entities and models at play and how they relate to one another within our application.

Video preview
Getting Familiar with our Web Project

Getting Familiar with our Web Project

In this lesson, we'll quickly walk through the web application we've cloned down to get familiar with the data at play, how it's presented to the user, and the features at hand.

Video preview
Getting Up and Running

Getting the Web Project Up & Running

We'll get our web project cloned down. Then, we'll get it configured by first creating our database and running our migrations and seeder. Lastly, we'll get a test SMTP email inbox set up through MailTrap.

Video preview
Goal of this Series

Goal of this Series

We'll cover the scope of this series and show some of the functionalities we'll be building throughout, which include an access token management panel, opaque access token authentication using an organization model, and building an API.

Lessons.

Video preview
3 Easy Ways to Split AdonisJS 6 Routes
AdonisJS Quick Tip #21.0
・
Dec 30, 24

3 Easy Ways to Split Route Definitions into Multiple Files in AdonisJS 6

Does your application have a ton of routes? In this lesson, we'll cover 3 easy ways you can split your application's route definitions into multiple files.

Video preview
HTTP Method Spoofing HTML Forms
Let's Learn AdonisJS 6 #3.9
・
Feb 17, 24

HTTP Method Spoofing HTML Forms

In this lesson, we'll learn how we can enable HTTP Method Spoofing to allow AdonisJS to spoof intended HTTP Verbs for basic HTML form POST requests.

Video preview
EdgeJS HTML and ClassNames Utiltiies
Let's Learn AdonisJS 6 #3.1
・
Feb 10, 24

HTML Attribute and Class Utilities

In this lesson, we'll take a look at a few powerful utilities provided by EdgeJS that make working with attributes and conditional classes a breeze.

Video preview
NodeJS Subpath Imports
Let's Learn AdonisJS 6 #2.17
・
Feb 06, 24

Easy Imports with NodeJS Subpath Imports

In this lesson, we'll learn about NodeJs Subpath Imports and how AdonisJS leverages them to help simplify our import paths throughout our application.

Video preview
Custom Starter Kits
Let's Learn AdonisJS 6 #2.16
・
Feb 06, 24

Quick Start Apps with Custom Starter Kits

In this lesson, we'll take a look at AdonisJS' bring your own kit feature that allows us to use Git repositories as starter kits when creating a new AdonisJS application.

Video preview
Adocasts Plus Exclusive
Exclusive
Mixins and Compose
Dec 17, 23

A Deep Dive Into Mixins & Compose

In this lesson, we'll walk through what mixins are and how they work by first inspecting them as plain objects then working our way into classes then finally TypeScript. We'll then implement mixins via AdonisJS' compose utility.

Video preview
Adocasts Plus Exclusive
Exclusive
Location from user IP address
AdonisJS Quick Tip #19.0
・
Nov 03, 23

How To Get City and State Info from User’s IP Address using IP2Location

In this lesson, we'll learn how to get our user's city, region, and country location information using their IP address.

Logging User Actions
AdonisJS Quick Tip #18.0
・
Jul 09, 23

How To Use AdonisJS Model Hooks To Log All User Actions

In this lesson, we’ll be taking a look at how we can log any and every user action performed against our AdonisJS models.

Handling Expired Auth Session
AdonisJS Quick Tip #17.0
・
Jun 18, 23

Gracefully Checking and Handling An Expired Auth Session

In this lesson, we’ll take a look at how to gracefully reset the user’s stale session, which includes authentication, CSRF tokens, or anything else you may have set for the user.

Redirect back after login
AdonisJS Quick Tip #13.0
・
Dec 18, 22

How To Redirect Back to the Previous Page After Login with AdonisJS

In this lesson, we'll learn an easy way we can redirect our user's back to their original page after they login or register in an AdonisJS application.

AdonisJS HTML Minifier
AdonisJS Quick Tip #12.0
・
Dec 11, 22

Minify Your AdonisJS HTML in 5 Minutes

We'll learn how we can alter all our AdonisJS HTML response bodies using a simple global middleware to add HTML minification.

AdonisJS Custom Global Helpers
AdonisJS Quick Tip #11.0
・
Nov 27, 22

How To Create Your Own Global Helpers in AdonisJS

In this lesson, we'll learn how we can create our own globally available helper methods & properties in AdonisJS.

AdonisJS Quick Tip #10.0
・
Oct 09, 22

How To Use Vue 3 with TypeScript in an AdonisJS Project

In this lesson, we’ll learn how to set up a Vue 3 TypeScript application within our AdonisJS project using Webpack Encore. We’ll start by getting Vue 3 working, then sprinkle in TypeScript support.

Method Spoofing HTML Forms
AdonisJS Quick Tip #9.0
・
Sep 04, 22

Http Method Spoofing & Helper Components in AdonisJS

In this lesson, we'll learn how we can utilize Http Method Spoofing to send PUT, PATCH, and DELETE requests using native HTML forms. We'll then create utility functions to make the implementation cleaner.

AdonisJS In 30 #2.0
・
Aug 13, 22

How To Do Multi Model Authentication with AdonisJS and Lucid ORM

In this lesson, we'll learn how to set up multi-model authentication using a User and Admin model with AdonisJS and Lucid ORM.

AdonisJS Quick Tip #8.0
・
May 28, 22

How To Make Your AdonisJS Authentication Login Case-Insensitive

Learn how to make the AdonisJS login attempt query case-insensitive easily by adding a simple method to our User Model.

AdonisJS Quick Tip #7.0
・
Mar 05, 22

How To Add A Custom Method to the Model Query Builder in AdonisJS

In this lesson, we'll learn how to define a macro for the Model Query Builder within an AdonisJS project to provide a new method onto all our Model's Query Builder.

AdonisJS Quick Tip #5.0
・
Jan 16, 22

How To Serialize All AdonisJS Lucid Model Properties As Camel Case

In this lesson, we'll learn how to use Naming Strategies in AdonisJS to alter the serialization behavior for all our model properties from snake case to camel case.

AdonisJS Quick Tip #4.0
・
Jan 09, 22

How To Add TailwindCSS to a New AdonisJS Project

This lesson covers creating a new AdonisJS project that includes Webpack Encore, then adding and configuring PostCSS and TailwindCSS within the project.

AdonisJS Quick Tip #3.0
・
Dec 08, 21

How To Add AdonisJS Edge Support to your WebStorm Environment

A quick tip on how to add AdonisJS Edge syntax highlighting to your JetBrains WebStorm environment using the VSCode plugin and TextMate Bundles.

Showing 1 to 20 of 24 results