![null](/img/1/adonisjs-icon-with-bg_1671308746819.jpeg?w=800)
![null](/img/1/adonisjs-icon-with-bg_1671308746819.jpeg?w=192)
AdonisJS
AdonisJS 5 is a NodeJS framework that's comes packed with everything you'll need to quickly build scalable and secure applications or APIs.
From The Feed
-
301 redirects + web server
I have a large list of 301 redirects. How can I implement these 301 redirects in AdonisJS? This list is maintained outside of AdonisJS in different system. I can fetch the list using API, so if the list is changed, how to update the redirec...
Read more -
How can we handle task scheduling in Adonisjs
In official documentation of Adonisjs their no section about task scheduling.
Read more
So how we can handle tasking scheduling
Lessons.
![Video preview](https://videos.adocasts.com/65918241-1899-46df-82ff-cb37d056fe15/preview.webp)
![Querying Relationships and Eager Vs Lazy Loading](/img/1/relationship-querying-and-eager-vs-lazy-loading-02_1710769308494.jpeg?w=650)
Querying Relationships and Eager Vs Lazy Loading
In this lesson, we'll learn how we can query our relationships using our Lucid Models. We'll then learn what the difference is between eagerly loading a relationship (load) and lazily loading a relationship (preload).
![Video preview](https://videos.adocasts.com/9d453dec-54a8-4684-b7ac-56086cf0382d/preview.webp)
![Factory Relationships](/img/1/factory-relationships_1710697550439.jpeg?w=650)
Model Factory Relationships
In this lesson, we'll learn how to use relationships with our Model Factories; easing our capabilities to quickly generate fake data with relationships.
![Video preview](https://videos.adocasts.com/ecfdb7da-36cb-4677-a74b-c75da208349d/preview.webp)
![Defining One to One Relationships](/img/1/defining-one-to-one-relationships-02_1710769195743.jpeg?w=650)
Defining One to One Relationships Within Lucid Models
In this lesson, we'll learn how to define one-to-one relationships within our Lucid Models. We'll learn about the belongs to and has one decorators, their options, and types that make this possible.
![Video preview](https://videos.adocasts.com/4aadd49c-960f-4dd1-952b-991b69fa6846/preview.webp)
![Generating A Movie Slug Using Model Hooks](/img/1/generating-a-movie-slug-using-model-hooks_1710454762190.jpeg?w=650)
Generating A Unique Movie Slug With Model Hooks
In this lesson, we'll learn how we can use Model Hooks to generate a unique URL-safe slug based on the movie's title.
![Video preview](https://videos.adocasts.com/69b107db-01b4-4e7c-88de-247acf1acde1/preview.webp)
![Querying Recently Released and Releasing Soon Movies](/img/1/querying-recently-released-and-coming-soon-movies_1710454558740.jpeg?w=650)
Querying Recently Released and Coming Soon Movies
In this lesson, we'll learn how to use the Model Query Builder to query our movies that have been recently released. We'll then do a separate query to get movies that are coming soon.
![Video preview](https://videos.adocasts.com/86132d25-bfcd-4140-adb7-afa42d2cafcb/preview.webp)
![Altering Factory States](/img/1/altering-state-of-model-factories_1710454341261.jpeg?w=650)
Tapping into Model Factory States
In this lesson, we'll dive a little bit deeper into Model Factories by introducing factory states. We'll also learn how we can use the tap method to alter a factory result prior to it persisting into the database
![Video preview](https://videos.adocasts.com/1e55389f-15b3-4720-a70e-bde4a0632544/preview.webp)
![Reusable Query Statements with Model Query Scopes](/img/1/query-scopes_1710102731895.jpeg?w=650)
Reusable Query Statements with Model Query Scopes
In this lesson, we'll learn about Model Query Scopes and how we can use them to create easily reusable query statements that we can apply using the Model Query Builder.
![Video preview](https://videos.adocasts.com/5e9d793f-fe9b-48c1-82fc-3cf77ac9a28b/preview.webp)
![SQL Parameters and Injection Protection](/img/1/sql-parameters-and-injection-protection_1710102561406.jpeg?w=650)
SQL Parameters and Injection Protection
In this lesson, we'll learn about SQL Parameters, also called query bindings, and how using them helps safeguard our database from malicious attacks attempting to perform SQL Injection.
![Video preview](https://videos.adocasts.com/50fe1af9-a05b-424a-b9d6-a2693126bcff/preview.webp)
![Adding A User Profile Model, Migration, Factory, and Controller](/img/1/adding-a-user-profile_1710102318390.jpeg?w=650)
Adding A Profile Model, Migration, Factory, and Controller
Uh oh, a new requirement has come in and now we also need to account for user profiles! In this lesson, we'll learn how we can easily create a new model, migration, factory, and controller for an entity in one fell swoop!
![Video preview](https://videos.adocasts.com/4823cc45-749e-42ef-aada-309d55e23e91/preview.webp)
![Altering Tables with Migrations](/img/1/altering-tables-with-migrations_1709594995766.jpeg?w=650)
Altering Tables with Migrations
In this lesson, we'll learn how to alter our database tables using migrations both while in development, where we can delete our data, and once our data has already hit production where we need to persist all data.
![Video preview](https://videos.adocasts.com/58a2f4d7-b333-4553-aa97-22150f9daf01/preview.webp)
![Umapped and Computed Model Properties](/img/1/unmapped-and-computed-properties_1709594803698.jpeg?w=650)
Unmapped and Computed Model Properties
In this lesson, we'll learn how to add unmapped and computed properties to our Lucid Models. We'll discuss the differences between a model column, unmapped property, and a computed property.
![Video preview](https://videos.adocasts.com/d9947bf3-964d-4933-93d8-2baa1f9b479f/preview.webp)
![Querying Our Movies with the Query Builder](/img/1/querying-our-movies-using-the-query-builder_1709594645063.jpeg?w=650)
Querying Our Movies with the Query Builder
In this lesson, we'll introduce both the database and model query builder. We'll learn the differences between the two and the basics of how to use them.
![Video preview](https://videos.adocasts.com/3005445a-35e2-487b-a8e3-adf04c4cec59/preview.webp)
![Fake Data Factories](/img/1/fake-data-factories_1709340105156.jpeg?w=650)
Stubbing Fake Data with Model Factories
In this lesson, we'll learn how we can quickly and easily bulk-create dummy/fake data within our database for each of our Lucid Models using Model Factories
![Video preview](https://videos.adocasts.com/acd2100a-f40c-4221-897b-4165b184ea95/preview.webp)
![Defining Required Data with Seeders](/img/1/defining-required-data-with-seeders_1709339902273.jpeg?w=650)
Defining Required Data with Seeders
Our database will have specific, non-changing, roles and movie statuses. In this lesson, we'll learn how we can quickly and easily create these records inside of our database using seeders.
![Video preview](https://videos.adocasts.com/67fb0041-1c96-4284-8996-fcd59d6c38f0/preview.webp)
![The Basics of CRUD](/img/1/the-basics-of-crud_1709339735126.jpeg?w=650)
The Basics of CRUD
In this lesson, we'll walk through the basics of creating, reading, updating, and deleting (CRUD) data from our database using our Lucid Models.
![Video preview](https://videos.adocasts.com/74d64077-d830-4d4f-a1b5-d2f0dda3ff44/preview.webp)
![Defining Our Models](/img/1/defining-our-models_1709076525538.jpeg?w=650)
Defining Our Models
In this lesson, we'll walk through the process of defining all our database tables and columns as models and properties within our application.
![Video preview](https://videos.adocasts.com/2e7727a2-dc1f-411b-b154-8ccbb111cf88/preview.webp)
![Introducing Lucid Models](/img/1/introducing-lucid-models_1709076351389.jpeg?w=650)
Introducing Lucid Models
In this lesson, we'll introduce models using the Lucid ORM. We'll learn how we can map database columns to our model properties and specify special behavior for our date time columns.
![Video preview](https://videos.adocasts.com/2582f86f-0a31-4ccc-b25c-ff06938c1363/preview.webp)
![The Flow of Migrations](/img/1/the-flow-of-migrations_1708721360699.jpeg?w=650)
The Flow of Migrations
In this lesson, we'll learn about the various migration-based commands made available by the Ace CLI and how they interact with our migration files. We'll use these commands to run, rollback, and refresh our migrations against our database.
![Video preview](https://videos.adocasts.com/5b48ff1d-aaa1-4dca-b1b4-89e34020f869/preview.webp)
![](/img/1/introducing-and-defining-migrations_1708721192050.jpeg?w=650)
Introducing and Defining Database Migrations
In this lesson, we'll introduce database migrations. We'll learn what they are, why they're great to have, and how we can create and use them to define our database tables and their columns.
![Video preview](https://videos.adocasts.com/565a44f0-14aa-4f57-a7e1-81fc6c901f16/preview.webp)
![](/img/1/understanding-our-database-schema_1708470164693.jpeg?w=650)
Understanding our Database Schema
In this lesson, we'll walk through how to understand a database schema diagram. We'll then discuss the schema we'll be working with throughout this series; describing the tables, columns, data types, and relationships.
Showing 61 to 80 of 250 results