Adocasts

@adocasts.com

Learn and build with AdonisJS by following in-depth education screencast lessons. Content by @tomgobich.com Find us at: https://adocasts.com

Bittersweet news to share today. I've decided to sunset Adocasts Plus. The upside, the entire Adocasts library is now free, no more paywalls & nothing is locked. Our current members have a prorated refund headed their way as well. You can read more here: adocasts.com/news/saying-...

Saying Goodbye to Adocasts Plus | Adocasts Blog

Adocasts Plus is being sunset, effective immediately. Here's what that means, why I'm making the call, and how prorated refunds will work.

adocasts.com

Two new AdonisJS 7 lessons are available! We’ll learn about migrations, schema classes, models, and relationships. We’ll also discuss how schema classes are used to automatically update column representations in models! Ready?

Let's Learn AdonisJS 7: Database Migrations | Coming Soon | Adocasts Lesson

Learn database migrations in AdonisJS and how they can be used to scaffold and build upon our application's database. Track, share, and rollback database changes with version contr...

buff.ly

Today in AdonisJS 7, we'll learn all about middleware and sessions! We'll discuss: → the 3 different types of middleware → the role of the 'next' function in middleware → how to work with session state → the perks of using flash messaging Ready to dive in?

Let's Learn AdonisJS 7: Middleware & Grouping Routes | Coming Soon | Adocasts Lesson

Learn AdonisJS middleware for intercepting HTTP requests. Control request flow, implement logging, and secure your applications.

buff.ly

4 new Let's Learn AdonisJS 7 lessons are out now! In these, we'll learn about: → EdgeJS components & partials → Form basics, method spoofing, & CSRF → Validation & Flash Storage → Route names & the URL Builder Ready to learn?

Let's Learn AdonisJS 7: Components, Layouts, & Partials | Coming Soon | Adocasts Lesson

Learn all about EdgeJS components, layouts, and partials for reusable view markup. We'll discuss the differences between the three and dig into specifics on how to use components a...

buff.ly

The first 6 lessons of our Let's Learn AdonisJS 7 series are out now and available to all! We'll get our environment set up, create a new project, and get cozy with our project's lifecycle and structure! Ready to start? buff.ly/V5R3KuW #adonisjs #nodejs

Let's Learn AdonisJS 7: Introducing AdonisJS | Coming Soon | Adocasts Lesson

Introduction to AdonisJS, a full-featured Node.js web framework designed to reduce choice fatigue with opinionated conventions, built-in batteries, and first-class TypeScript suppo...

buff.ly

4 more lessons are out now! In these, we'll learn how to use and test authentication and authorization with Japa. Then, we'll piece everything we've learned thus far together by testing an email change endpoint to completion. Ready to learn? 🎓

Pragmatic Testing in AdonisJS with Japa: The Auth Plugin | Coming Soon | Adocasts Lesson

In this lesson, we'll learn how to test authenticated routes in AdonisJS/Japa. First, we'll install and register the Auth API Client plugin. Then, we'll learn how to use our User F...

buff.ly

Four more lessons on testing with Japa are out now! In these, we'll learn about: → Database hooks → Testing db-driven endpoints → Using model factories to simplify setup → Testing model logic Ready to learn? 🎓

Pragmatic Testing in AdonisJS with Japa: Database Test Runner Hooks | Coming Soon | Adocasts Lesson

In this lesson, we'll learn how to set up a dedicated test database to ensure clean, isolated testing. We'll configure a separate SQLite database using a test environment variable ...

buff.ly

We've published a security fix for a Path Traversal vulnerability affecting multipart file uploads in AdonisJS (CVE-2026-21440). Update now: - v6 users → adonisjs/core 6.19.2 - v7 users → adonisjs/core 7.0.0-next.18 github.com/adonisjs/cor...

AdonisJS Path Traversal in Multipart File Handling

### Summary **Description** A Path Traversal (CWE-22) vulnerability in AdonisJS multipart file handling may allow a remote attacker to write arbitrary files to arbitrary locations on the server...

github.com

The next AdonisJS docs will ship with dedicated LLM endpoints. Not just an llms.txt listing pages. Actual cheat sheets crafted for AI assistants. Minimal context, maximum accuracy. Your AI pair programmer is about to get much better at AdonisJS 🤖

AdonisJS documentation about routing with LLM only text

Shipping a new ESLint rule: no-backend-import-in-frontend Catches accidental backend imports in your Inertia frontend files at lint time. Type imports still allowed, and you can whitelist shared paths. One less runtime surprise 🙌

// ❌ Error: Importing backend code in frontend files is not allowed
import User from '#models/user'
import { UserService } from '../../app/services/user_service'


// ✅ Correct - type-only imports are allowed
import type { User } from '#models/user'
import type { UserService } from '../../app/services/user_service'

// ✅ Correct - imports pointing to inertia/ are allowed
import { Button } from '#components/button' // if #components/* -> ./inertia/components/*
import { utils } from '../utils'

In our latest batch of Testing with Japa lessons, you'll learn how to: → Prevent false positives with async tests → Use datasets to optimize your test data → Focus test runs with skipped, pinned, and tagged tests Test smarter, not harder ⤵︎ buff.ly/AFOOHmR