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.
In this lesson, we'll dive deep into three different ways we can organize our code; fat controllers, services, and actions. We'll also discuss circular dependencies, static and non-static service methods, and dependency injection.
In this lesson, we'll cover how to implement access token authentication, using opaque tokens, in AdonisJS 6. We'll also take a look at what this would look like on the frontend via a Vue 3 app using Pinia
In this lesson, we'll learn how to add authentication to a new AdonisJS 6 application using the session guard. In these 15 minutes, you'll learn how to register a user, logout a user, verify a user's credentials and log them in, and more.
In this lesson, we'll take a look at the differences between the model and database query builders.
In this lesson, we'll take a look at the various options we have to limit results when using the query builder including first, firstOrFail, limit, and pagination. We'll also learn how we can sort our results.
In this lesson, we'll introduce the query builder. We'll spend most of our time looking at its various where statement options and how we can use them to build queries.
In this lesson, we'll learn how to get our user's city, region, and country location information using their IP address.
In this lesson, we’ll be taking a look at how we can log any and every user action performed against our AdonisJS models.
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.
In this lesson, we'll dive deep into three different ways we can organize our code; fat controllers, services, and actions. We'll also discuss circular dependencies, static and non-static service methods, and dependency injection.
A quick thank you to all those who watched! If you have feedback, please let us know down in the comments.
In this lesson, we'll learn how we can safely delete movies and their relationships. We'll discuss how we need to consider foreign key constraints, and what to do when our deletes aren't set to cascade.
In this lesson, we'll learn how we can use what we learned in the last lesson to also sync our cast members. We'll then extract this functionality into a service and wrap it within a managed database transactions.
In this lesson, we'll learn how we can use form field names to send an array of objects with our HTML form submission. We'll discuss pitfalls to watch out for and how we use AlpineJS to simplify index syncing within our field names.
In this lesson, we'll learn how we can utilize a wildcard route parameter to dynamically download images that've been uploaded and stored within our application storage.
In this lesson, we'll learn how to upload movie cover images when either creating or editing a movie via our create or edit form.
In this lesson, we'll learn how we can merge our create form and edit form together into a create or edit form. We'll conditionally determine whether we'll be creating or editing based on our movie value and use EdgeJS features to simplify the process
In this lesson, we'll recreate our movie form for the purpose of updating our movies. We'll also add the ability to clear values and discuss the difference between VineJS' optional and nullable chain options.
In this lesson, we'll allow our administrators to create movies via our admin panel. We'll walk through getting the form set up, validated, and our movies created.
In this lesson, we'll learn how we can create a paginated movie table for our administrators. We'll list the movies and some of their relationship data, like the number of crew and cast members associated with the movie.
In this lesson, we'll perform various counts against our models to display on our admin dashboard page.
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.
AdonisJS has officially been released to the public! Here's some links to resources to help get you on your way.
The AdonisJS Core Team has announced the release date for AdonisJS 6.
Did you know you can quickly and easily disable Tailwind's hover state classes on tap devices, like phones and tablets?
With AdonisJS 6, layouts have been removed in favor of components. In this snippet, we provide a simple layout component example.
If your server is proxied by Cloudflare, chances are the built-in method to get the user IP Address in AdonisJS is returning Cloudflare's IP instead of your users. With this snippet, we'll fix that!
$285
/ lifetime
Hate subscriptions? Me too! Pay once, then never again with our forever plan.
Get Started