Recently Released.

Newly Released in the last 30 days
Video preview
Adocasts Plus Exclusive
Exclusive
Paginating Courses

Paginating our Course List

In this lesson, we'll transform our courses list endpoint into a pagination endpoint. We'll check and validate our query string for a page and per page parameter that we'll then use to fetch pages of our courses.

Video preview
Adocasts Plus Exclusive
Exclusive
Creating, Updating, and Deleting Courses

Creating, Updating, and Deleting Courses

In this lesson, we'll add endpoints to allow creating, updating, and deleting courses from our API. We'll then use this to stub a number of test courses to give us wiggle room to play with our pagination.

Video preview
Adocasts Plus Exclusive
Exclusive
Listing Courses

Listing Courses

Our goal in this step is to add an endpoint that lists our courses. We'll then build upon this endpoint further with the ultimate goal of getting a list of paginated courses.

Video preview
Adocasts Plus Exclusive
Exclusive
API Authorization

API Authorization Checks

In this lesson, we'll implement our API Authorization checks across all the API controller methods we've implemented thus far. We'll then create a specific access token for each operation (read, create, update, and delete) to ensure everything is working.

Video preview
Adocasts Plus Exclusive
Exclusive
Status CRUD

Status API CRUD

In this lesson, we'll duplicate everything we did one more time for our organization's statuses.

Video preview
Adocasts Plus Exclusive
Exclusive
Access Level CRUD

Access Level API CRUD

In this lesson, we'll walk through adding API endpoints for the full CRUD (create, read, update, and delete) flow for our organization's access levels.

Video preview
Adocasts Plus Exclusive
Exclusive
Deleting A Difficulty

Deleting A Difficulty

The last CRUD method we need to add is the ability to delete our a difficulty by adding a DELETE API route, we'll take care of that in this lesson.

Video preview
Adocasts Plus Exclusive
Exclusive
Updating A Difficulty

Updating A Difficulty

In this lesson, we'll add a PUT API route to handle updating our difficulties! This route will also accept in a specific difficulty id via route parameter to specify which difficulty should be updated.

Video preview
Adocasts Plus Exclusive
Exclusive
Getting A Difficulty

Getting A Specific Difficulty

In this lesson, we'll add a GET API route enabling us to get the details of a specific difficulty by providing the difficulties id via route parameter.

Video preview
Adocasts Plus Exclusive
Exclusive
Creating Difficulties

Creating Organization Difficulties

Next, we'll add a POST route and handler so that we can create difficulties from our API

Video preview
Adocasts Plus Exclusive
Exclusive
Listing Difficulties

Listing Organization Difficulties

In this lesson, we'll begin work on our first CRUD-based API resource by adding the ability to query a list of all our organization's difficulties.

Lessons.

Video preview
Adocasts Plus Exclusive
Exclusive
API Authorization

API Authorization Checks

In this lesson, we'll implement our API Authorization checks across all the API controller methods we've implemented thus far. We'll then create a specific access token for each operation (read, create, update, and delete) to ensure everything is working.

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
Adocasts Plus Exclusive
Exclusive
Server-Side Authorization Checks

Applying Our Server-Side Authorization Checks

In this lesson, we'll use our access controls to add authorization checks to our controllers where needed. This will help ensure members can't update, delete, or invite users.

Video preview
Adocasts Plus Exclusive
Exclusive
UI Authorization Checks

Applying Our Authorization UI Checks

In this lesson, we'll use our access controls to apply authorization checks to the user interface of our application. This will ensure users don't see actionable items for operations they aren't allowed to perform.

Video preview
Adocasts Plus Exclusive
Exclusive
Authorization Access Controls

Rolling Our Own Authorization Access Controls

In this lesson, we'll create our own simple authorization access control list. We'll then share this list globally throughout our application by appending it to our HttpContext and sharing it with our Vue application via Inertia.

Video preview
Protecting Routes with Auth, Guest, and Admin Middleware
Let's Learn AdonisJS 6
#7.6
・
Apr 27, 24

Protecting Routes with Auth, Guest, and Admin Middleware

In this lesson, we'll learn about the auth and guest middleware included when we created our AdonisJS 6 project. Then, we'll create our own named middleware that will allow us to restrict page access to only users with the admin role.

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.

User Role Management
AdonisJS User Roles
#2.0
・
Nov 13, 22

AdonisJS User Role Management

In this lesson, we'll learn how to create a user management screen that'll allow administrators to change any of our registered user's roles

User Role Authentication in 15 Minutes
AdonisJS In 30
#3.0
・
Nov 10, 22

AdonisJS User Role Authentication in 15 Minutes

In this lesson, we'll learn how we can specify user roles using a User and Role AdonisJS Model within our project.

AdonisJS Bouncer
#4.0
・
Jan 02, 22

Creating & Using Bouncer Policies

We'll learn about policies and how we can use them to group resource-based actions. We'll also learn how to create and share hooks with policies.

AdonisJS Bouncer
#2.0
・
Dec 24, 21

Bouncer Actions & Authorizations

We'll learn about AdonisJS Bouncer actions and how we can use these actions to check if a user is authorized to perform a specific task. Plus, conditional check authorizations.

AdonisJS Bouncer
#1.0
・
Dec 18, 21

Introducing, Installing, & Configuring Bouncer

In this lesson, we'll introduce AdonisJS Bouncer, the first-party AdonisJS package for authorization checking. We'll also get a start project setup and install and configure Bouncer.