![EdgeJS](/img/1/edgejs_1699649088846.jpeg?w=800)
![EdgeJS](/img/1/edgejs_1699649088846.jpeg?w=192)
EdgeJS
Edge is a feature-packed template engine for Node.JS that AdonisJS utilizes out-of-the-box. It comes with support for conditionals, looping, partials, layouts, components, and so much more.
Series.
Lessons.
![Video preview](https://videos.adocasts.com/cc0ff4b4-0df3-42e0-afa4-54b60700004f/preview.webp)
![Allowing Admins to Delete Movies](/img/1/allowing-admins-to-delete-movies-and-their-relationships_1719604792290.jpeg?w=650)
Allowing Admins to Delete Movies and their Relationships
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.
![Video preview](https://videos.adocasts.com/4e59a1e8-3e50-43f8-bfee-ee50dfc1d930/preview.webp)
![Posting an Array of Objects with HTML Forms](/img/1/posting-an-array-of-objects-with-html-forms_1719352308432.jpeg?w=650)
Posting Objects, Arrays, and an Array of Objects in HTML Forms
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.
![One Form to Create or Edit Movies](/img/1/one-form-to-create-or-edit_1718391998933.jpeg?w=650)
How To Use One Form to Create or Edit Movies
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
![Allowing Admins to Update Movies and Clear Values](/img/1/allowing-admins-to-update-movies-and-remove-values_1718391820973.jpeg?w=650)
Allowing Admins to Update Movies and Clear Values
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.
![Video preview](https://videos.adocasts.com/eb11f2cb-77c7-42cc-8769-eea26970d5e3/preview.webp)
![Allowing Admins to Create Movies](/img/1/allowing-admins-to-create-movies_1718143030064.jpeg?w=650)
Allowing Admins to Create Movies
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.
![Video preview](https://videos.adocasts.com/62114ae4-0c29-4237-9ba7-6c9c24b9b1f8/preview.webp)
![Paginated Admin Movie Table](/img/1/paginated-admin-movie-table_1718142330791.jpeg?w=650)
Paginated Admin Movie Table
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.
![Video preview](https://videos.adocasts.com/e9c60f3b-19dd-46f9-92ec-36425366debc/preview.webp)
![Counting Stats for our Admin Dashboard](/img/1/admin-dashboard-counts_1717626512856.jpeg?w=650)
Counting Stats for our Admin Dashboard
In this lesson, we'll perform various counts against our models to display on our admin dashboard page.
![Video preview](https://videos.adocasts.com/1909f80d-fde9-4f65-a3cb-e45c06f6fbef/preview.webp)
![Creating An Admin Layout](/img/1/creating-an-admin-layout_1717626414880.jpeg?w=650)
Creating An Admin Layout
In this lesson, we'll learn how to create an admin layout we can use throughout our admin section pages. This layout will include a secondary navigation specific to administrative actions.
![Video preview](https://videos.adocasts.com/b859bf7d-38ef-42a6-a72b-a80d6cf71410/preview.webp)
![Displaying A User's Profile](/img/1/displaying-user-profiles_1717190196823.jpeg?w=650)
Displaying A User's Profile
In this lesson, we'll learn how you can mimic popular sites and use an @ handle to display your user's profiles
![Video preview](https://videos.adocasts.com/ba6f8aa5-bf43-4f8c-b228-0cf2f74307af/preview.webp)
![Uploading and Displaying User Avatars](/img/1/uploading-and-displaying-user-avatars_1717190043310.jpeg?w=650)
Uploading and Displaying User Avatars
In this lesson, we'll learn how to validate and upload avatar images into our project's storage. We'll then learn how we can easily display images we have contained within our app's storage
![Video preview](https://videos.adocasts.com/67f84e93-f484-4982-b3e5-49a30a742a7b/preview.webp)
![Filter by User's Watched Status](/img/1/filter-by-watched-status_1715810596993.jpeg?w=650)
Filtering By User's Watched Status
In this lesson, we'll learn how to add a filter to our user's watchlist allowing them to show only movies they have or have not watched.
![Video preview](https://videos.adocasts.com/bf3e123e-0f4c-4f68-8dcc-bdc6ce9c1a52/preview.webp)
![Tracking Watched Movies](/img/1/allowing-users-to-track-watched-movies_1715810469365.jpeg?w=650)
Allowing Users To Toggle A Movie As Watched
In this lesson, we'll learn how to allow users to toggle whether they've watched a movie or not within their watchlist.
![Video preview](https://videos.adocasts.com/fffd7068-d4e9-4c15-b895-dd826ac36cb6/preview.webp)
![Toggling A Movie in an Authenticated User's Watchlist](/img/1/toggling-a-movie-in-an-authenticated-users-watchlist_1715288820404.jpeg?w=650)
Toggling A Movie in an Authenticated User's Watchlist
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.
![Video preview](https://videos.adocasts.com/e3ff14e7-e11b-4b59-a035-e2a767b92e46/preview.webp)
![Pagination First, Last, Next, and Previous Buttons](/img/1/pagination-first-last-next-and-previous-buttons_1714944115567.jpeg?w=650)
Pagination First, Last, Next, and Previous Buttons
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.
![Video preview](https://videos.adocasts.com/0c3db61a-4c17-429d-b4e1-2b0e9ecb30f5/preview.webp)
![How To Paginate Filtered Query Results](/img/1/how-to-paginate-filter-results_1714943963112.jpeg?w=650)
How To Paginate Filtered Query Results
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.
![Video preview](https://videos.adocasts.com/0ba33b0c-1e03-42cc-a6ca-e1d695af70ad/preview.webp)
![How To Apply A Dynamic Sort Filter To Your Query](/img/1/how-to-apply-a-dynamic-sort-filter_1714514184731.jpeg?w=650)
How To Apply A Dynamic Sort Filter To Your Query
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
![Video preview](https://videos.adocasts.com/edf0c263-25d3-412c-a03d-ac44322375fd/preview.webp)
![Filtering Our List by Movie Status](/img/1/filter-our-list-by-movie-status_1714513909291.jpeg?w=650)
Filtering Our List by Movie Status
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.
![Video preview](https://videos.adocasts.com/03ed95b5-9163-4320-b55c-822cf12ebad9/preview.webp)
![Filtering A Query By Pattern Likeness](/img/1/filtering-a-search-by-pattern-likeness_1714173269742.jpeg?w=650)
Filtering A Query By Pattern Likeness
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.
![Video preview](https://videos.adocasts.com/b6463a21-999a-459e-b04e-95c91b24ac25/preview.webp)
![Creating A Movie List Page](/img/1/listing-our-movies_1714172845749.jpeg?w=650)
Creating A Movie List Page
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.
![Video preview](https://videos.adocasts.com/b5a90412-ec8a-44a1-ae56-e797f502aba3/preview.webp)
![AdonisJS 6 Session Authentication in 15 Minutes](/img/1/adonisjs-6-session-auth-in-15-minutes_1713397471654.jpeg?w=650)
AdonisJS 6 Session Authentication in 15 Minutes
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.
Showing 1 to 20 of 87 results