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 take our movie filter, and learn how we can reuse it to display a filterable list of the user's watchlist movies.
In this lesson, we'll learn how to add the ability to toggle whether a user has a movie within their watchlist. We'll also query and display whether a movie is in the authenticated user's watchlist as well.
In this lesson, learn an alternative approach to many-to-many relationships that allows you to work directly with the pivot table as a model.
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 take our movie filter, and learn how we can reuse it to display a filterable list of the user's watchlist movies.
In this lesson, we'll learn how to add the ability to toggle whether a user has a movie within their watchlist. We'll also query and display whether a movie is in the authenticated user's watchlist as well.
In this lesson, learn an alternative approach to many-to-many relationships that allows you to work directly with the pivot table as a model.
In this lesson, we'll take a look at how to add pagination links to the next and previous pagination pages. Then, we'll follow the same process to add links to the first and last pagination pages.
In this lesson, we'll learn about AdonisJS Model Query Builder pagination and walk through an example of how we can easily paginate the results of our filtered movies.
In this lesson, we'll learn how to use VineJS, AdonisJS' Validator, to validate the filter properties and values we have within our query string.
In this lesson, we'll learn how to join a related table into our query and use that table to apply a sort via the relationship. We'll then see how we can conditionally apply this join only when it's needed for the selected order by.
In this lesson, we'll learn how we can add a user-selected sort option to our filters. Then, we'll apply the selected filter to our movie query
In this lesson, we'll alter our form input component to allow selects. Then, we'll learn how to add a select-based filter to our movie list page so that we can see only movies containing a specific movie status.
In this lesson, we'll learn how to add a pattern filter to our movies.index page that will allow us to filter our movies list by title using a case-insensitive pattern search.
In this lesson, we'll create a page to list all of our movies. Since we have a lot of movies, in this module, we'll focus on adding filters and pagination to this list.
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.
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