Playing Next Lesson In
seconds

Let's Learn AdonisJS 6 #11.3

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.

Created by
@tomgobich
Published

🕰️ Chapters
00:00 - Adding the Create Movie Button
00:38 - Defining All Resource Routes for Our Movies
02:24 - Planning Our Movie Create Fields
03:30 - Querying Select Options
03:56 - Defining Our Movie Create Page and Form
07:46 - Creating and Defining Our Movie Store Validator
10:06 - Creating An Exists Helper Validator Rule
11:50 - Finishing Our Movie Store Validator
13:15 - Validating Dates and Transforming to Luxon DateTime
14:02 - Validating and Storing our Movies
14:30 - Testing Our Movie Store Form

Join the Discussion 0 comments

Create a free account to join in on the discussion
robot comment bubble

Be the first to comment!