null

InertiaJS

2 Series
45 Lessons
6h 20m

InteriaJS provides a unique approach to a monolith application, which they call the "modern monolith." It allows us to easily mesh our server-side to our client-side without needing to change much code.

Series.

From The Feed

  • @thomas-danger thomas-danger

    Inertia and i18n

    Hello,

    I want to use the i18n module in an inertia project with react but i can't find a way to use the t('messages.gretting') method in my tsx component…
    Is it possible to use this method in inertia like in Edge template ? Or am i forced to...

    Read more

Lessons.

Video preview
Adocasts Plus Exclusive
Exclusive
Forgot Password

Forgot Password & Password Reset

In this lesson, we'll walk through setting up the complete forgot password flow including, creating a password reset token with time-expiry, sending an email notification with a password reset link, verifying the token, and resetting the users password.

Video preview
Adocasts Plus Exclusive
Exclusive
Remember Me Token

Adding the Remember Me Token

In this lesson, we'll enable the remember me feature on our auth login flow and add the remember me tokens table to our database.

Video preview
Adocasts Plus Exclusive
Exclusive
Login & Exceptions

Logging In Users & Displaying Exceptions

In this lesson, we'll add the ability to login to our application. We'll then discuss the differences between errors and errorsBag and how we can display long-lived exception messages as an alternative to our toast manager.

Video preview
Adocasts Plus Exclusive
Exclusive
Onboarding New Users

Onboarding Newly Registered Users

In this lesson, we'll create our onboarding flow for newly registered users. Before users can enter the application, they'll need to have at least one organization set up so everything works smoothly.

Video preview
Adocasts Plus Exclusive
Exclusive
Logging Out Users

Logging Out Users

In this lesson, we'll hook up our logout user menu button to a POST route to logout an authenticated user.

Video preview
Adocasts Plus Exclusive
Exclusive
Splitting Our Routes Between Auth & Web

Splitting Our Routes Between Auth & Web

In this lesson, we'll split our routes into two files: auth and web. Our auth routes file will contain all our authentication-based route definitions and our web routes will contain the remaining.

Video preview
Adocasts Plus Exclusive
Exclusive
Register new users

User Registration with InertiaJS

In this lesson, we'll complete our user registration flow by validating our registration form data, creating a new user, logging that user in, and forwarding them to the next page in the flow.

Video preview
Adocasts Plus Exclusive
Exclusive
Toast Message Manager

Creating A Toast Message Manager

Learn how to implement a user feedback manager in your app using toast messages and vue-sonner. We'll integrate our flash message manager with state provided from AdonisJS' flash messages store to display success and error messages.

Video preview
Adocasts Plus Exclusive
Exclusive
AppLayout & NavBar

Completing Our AppLayout & Navigation Bar

In this lesson, we'll finish setting up our application's layout shell and navigation bar.

Video preview
Adocasts Plus Exclusive
Exclusive
Model Types with DTOs

Typing Lucid Models in Inertia with DTOs

In this lesson, we'll learn how we can specify types for our Lucid Models easily using DTOs we'll generate directly from our models.

Video preview
Adocasts Plus Exclusive
Exclusive
Defining Our Lucid Models & Relationships

Defining Our Lucid Models & Relationships

In this lesson, we'll convert our migrations into Lucid Models and define both sides of the relationships so they're ready to go.

Video preview
Adocasts Plus Exclusive
Exclusive
Defining Our Migrations & Foreign Keys

Defining Our Migrations & Foreign Keys

In this lesson, we'll create our migrations, models, and some of our controllers. We'll then fill out our migrations and define our relationship's foreign key constraints.

Video preview
Adocasts Plus Exclusive
Exclusive
Database Schema

Understanding Our Database Schema

In this lesson, we'll walk through a diagram of our application's database schema to understand how things relate to one another.

Video preview
Adocasts Plus Exclusive
Exclusive
What Are Some of Inertia's Limitations

What Are Some of Inertia's Limitations

In this lesson, we'll discuss a couple of Inertia's request and routing limitations and how we can circumvent them by reaching for axios or fetch instead.

Video preview
Adocasts Plus Exclusive
Exclusive
Cross-Site Request Forgery (CSRF) in InertiaJS

Cross-Site Request Forgery (CSRF) Protection in InertiaJS

In this lesson, we'll learn how cross-site request forgery (CSRF) protection between AdonisJS and InertiaJS behaves in our application.

Video preview
Adocasts Plus Exclusive
Exclusive
Creating A FormInput Component

Creating A FormInput Vue Component

In this lesson, we'll create a reusable FormInput Vue Component using our current form field as a starting point.

Video preview
Adocasts Plus Exclusive
Exclusive

Common useForm Methods & Options

In this lesson, we'll walk through some of the more common methods and options we have with the useForm helper, like adding form errors, maintaining scroll position, mutating values prior to submission, and more.

Video preview
Adocasts Plus Exclusive
Exclusive
The useForm Helper

The useForm Helper

In this lesson, we'll introduce the useForm helper composable provided by InertiaJS. We'll refactor our current form to use the useForm helper instead and see how it can help manage our form state, errors, and submission.

Video preview
Adocasts Plus Exclusive
Exclusive
Form Validation & Displaying Errors

Form Validation & Displaying Errors

In this lesson, we'll add validation to our POST handler for our register route. We'll then update our form fields to check for and display any validation errors that may have occurred.

Video preview
Inertia Form Basics

Inertia Form Basics

In this lesson, we'll introduce the basics of working with form in Inertia. We'll set up our register form with its fields, get our form state set up, and send off a post request to one of our AdonisJS routes.

Showing 1 to 20 of 44 results