Launch Your AdonisJS Skills to the Stars

Series.

Step-By-Step Learning

Topics.

Subject-Based Learning

Lessons.

Here's What's New
Video preview
Adocasts Plus Exclusive
Exclusive
Storing Lesson Reordering

Storing Lesson Order Changes & Handling Cross-Module Drag & Drops

In this lesson, save the changes made to lessons inside a course when a user uses drag-and-drop to move a lesson. Users can change the lesson order inside a single module or move a lesson into a new module, so we'll need to handle both use cases.

Video preview
Adocasts Plus Exclusive
Exclusive
Storing Module Reordering

Storing Module Order Changes from Vue Draggable

In this lesson, we'll persist sort order changes to the database when dragging and dropping a course's modules using Vue Draggable

Video preview
Adocasts Plus Exclusive
Exclusive
Lesson & Module Tag Selector

Patching Tag Changes for our Modules & Lessons

In this lesson, we’ll incorporate our Tag Selector component into our modules and lessons to facilitate easy visibility and updates of their statuses and access levels.

Video preview
Adocasts Plus Exclusive
Exclusive
Setting A Publish Date & Time

Adding A Publish Date & Time Input

In this lesson, we'll add publish at date & time fields to our lesson form. We'll learn how we can split these two values apart for their inputs and join them back together before sending to the server. We'll also touch on timezone considerations.

Video preview
Adocasts Plus Exclusive
Exclusive
Editing & Deleting Lessons

Editing & Deleting Course Lessons

In this lesson, we'll add the ability to edit and delete lessons from a course's module. When editing, we'll also decrement the order field for all lessons within the module after the lesson being deleted.

Video preview
Adocasts Plus Exclusive
Exclusive
Creating & Listing Course Lessons

Creating & Listing Sortable Course Lessons

In this lesson, we'll add the ability to create new lessons within a course's module. We'll then list the lessons within their designated module using the order specified by the user.

Video preview
Adocasts Plus Exclusive
Free in 3 days
Model Query Builder Macros in AdonisJS 6
AdonisJS Quick Tip #20.0
・
Dec 10

Model Query Builder Macros in AdonisJS 6

In this lesson, we'll learn how we can add custom methods to the Model Query Builder with Lucid in AdonisJS 6 using macros.

Video preview
Adocasts Plus Exclusive
Exclusive
Course Module CRUD

Creating, Editing, & Deleting Course Modules

In this lesson, we'll add the ability to create, edit, and delete a course's modules using the reusable components and composables we've created in past lessons.

Video preview
Adocasts Plus Exclusive
Exclusive
Listing Sortable Course Modules

Querying & Listing Sortable Course Modules

In this lesson, we'll query and add a sortable list of a course's modules on the courses show page.

Video preview
Adocasts Plus Exclusive
Exclusive
Tag Selector Component

The Tag Selector

In this lesson, we'll define a reusable tag selector component that we'll use for our difficulties, access levels, and statuses. This component will accept props that will automatically send a patch request to our server to update values as they change.

Video preview
Adocasts Plus Exclusive
Exclusive
Showing Course Details

Showing A Course's Details

In this lesson, we'll add our courses show page, which will be in charge of displaying the course details along with its modules & lessons. In this lesson we'll lay the groundwork, then in the next module we'll add in our modules & lessons.

Video preview
Adocasts Plus Exclusive
Exclusive
Deleting Courses

Deleting Courses

In this lesson, we'll add the ability to delete courses from an organization with confirmation from our user.

Blogs.

Odds and Ins

What's New in Adocasts V3

We're now rocking AdonisJS 6 with a fresh redesign to boot! We'll introduce "The Feed" and discuss a few new Adocasts Plus perks.

Snippets.

Bite Sized Code
Adocasts Plus
Launch Into AdonisJS
  • Unlock all series, lessons, and assets
  • 2 weeks early access to new lessons
  • Feed posts shared across the site
  • Ad-free site experience
  • Submit ads to run across the site
  • Renewal reminders; cancel anytime
Adocasts Plus

Monthly

$8

/ month

Take things month-by-month with one low price to unlock everything!

Get Started
Adocasts Plus

Annually

$80

/ year

Take things year-by-year with one low price to unlock everything!

Get Started
Adocasts Plus

Forever

$285

/ lifetime

Hate subscriptions? Me too! Pay once, then never again with our forever plan.

Get Started