Defining A Structure for our Movie using Models

In this lesson, we'll introduce the concept of models by using one to define the properties our movies should contain. We'll then stub some methods that will mock calls we'll later be able to use to load data from our database.

Published
Jan 31
Duration
9m 38s

Developer, dog lover, and burrito eater. Currently teaching AdonisJS, a fully featured NodeJS framework, and running Adocasts where I post new lessons weekly. Professionally, I work with JavaScript, .Net C#, and SQL Server.

Adocasts

Burlington, KY

Join The Discussion! (4 Comments)

Please sign in or sign up for free to join in on the dicussion.

  1. Commented 11 days ago

    cannot fine module 'luxon' or its corresponding type declarations

    0

    Please sign in or sign up for free to reply

  2. Commented 11 days ago

    error message: Argument of type 'Hash' is not assignable to parameter of type '() => Hash'.

    0

    Please sign in or sign up for free to reply

  3. Commented 11 days ago

    Command "make:model" is not defined

    0

    Please sign in or sign up for free to reply

    1. Commented 10 days ago

      Hi Amitava! Can you please provide some additional context around these errors? Did you clone this series' repo at a certain branch? Is this a brand new AdonisJS 6 project?

      0

      Please sign in or sign up for free to reply