1
Module 1
Project Foundations
Module 1
Project Foundations
Introducing AdonisJS
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 support.
Dev Environment & Text Editor
Learn how to set up your AdonisJS development environment: install Node.js 24+, NPM 11+, and VS Code with AdonisJS, Japa, and EdgeJS extensions.
Creating A New AdonisJS 7 Project
Step-by-step guide to create your first AdonisJS 7 project. Learn about the several official starter kit options and how to boot your server once created.
Lifecycle & Project Structure Tour
Explore the AdonisJS project structure, folder organization, and application lifecycle. Understand the key directories and their purposes.
Meet the Ace CLI
Learn how to use the Ace CLI, AdonisJS's command-line interface, for development tasks. We'll inspect essential commands for coding and project management.
Environment Variables
Learn to manage environment variables in AdonisJS to store environment-specific values and keep secret values secure. AdonisJS also supports environment validation, which we'll inspect as well.
2
Module 2
Fundamentals
Module 2
Fundamentals
Defining Routes & Rendering Views
Learn how to define routes and render views in AdonisJS. Understand route definitions, rendering views, and the router service.
View State & Passing Data to Views
Learn how to pass data from controllers to views using state in AdonisJS. We'll also discuss the three different types of state in EdgeJS: render, local, and global.
EdgeJS View & Tag Syntax
Learn all about EdgeJS templating with interpolation, conditionals, loops, variables, and tags. We'll also talk about comments and escaping interpolation and HTML markup.
Route Parameters & Matchers
Learn AdonisJS route parameters and matchers. Capture dynamic segments in URLs and validate and cast with route matchers.
Controllers, Barrel Files, & Subpath Imports
Learn AdonisJS controllers, barrel files, and subpath imports. Organize code with controllers and leverage barrel files for cleaner imports.
Components, Layouts, & Partials
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 and their many features
Form Basics, Method Spoofing, & CSRF
Learn form handling in AdonisJS with method spoofing and CSRF protection. Build secure HTML forms with POST, PUT, and DELETE methods.
Validation & Flash Storage
Learn how to validate user-provided data and forms in AdonisJS using VineJS. We'll also discuss how to validate route parameters, query strings, cookies, and headers as well.
Route Names & Type-Safe Route Generation
Learn type-safe route generation in AdonisJS using route names. Generate URLs with named routes for maintainable links and redirects. We'll also inspect the generated type for our route definitions and default route naming.
Middleware & Grouping Routes
Learn AdonisJS middleware for intercepting HTTP requests. Control request flow, implement logging, and secure your applications.
Sessions & Flashing Messages
Learn HTTP sessions in AdonisJS for maintaining user state across requests. We'll also learn about flash messaging and the basics of working with it.
3
Module 3
Database
Module 3
Database
Database Migrations
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 control for your schema.
Models, Schema Classes, & Relationships
Learn AdonisJS models and generated schema classes. We'll discuss model hooks, getters, computed properties, relationships, and how models can use schema classes as a base to automatically keep model columns up-to-date with our database.
CRUD Basics
Learn CRUD operations in AdonisJS. Create, read, update, and delete records using AdonisJS models and Lucid ORM.
Factories & Seeders
Learn database seeders and factories in AdonisJS. Populate databases with preliminary data using factories and seeders.
Query Builder Basics
Learn how to build complex SQL queries with where clauses, selects, joins, and more using method chaining with Lucid's Model and Database Query Builder in AdonisJS.
Working with Model Relationships
Learn the difference between eager and lazy loading relationships in AdonisJS. We'll also learn about querying nested relationships, filtering by relationships, and more.
Pagination
Learn pagination in AdonisJS. Split large datasets into pages to improve performance and user experience with Lucid paginate().
4
Module 4
Authentication
Module 4
Authentication
Understanding by Doing, Clean Slate
Learn authentication from scratch in AdonisJS. Remove starter kit auth and rebuild authentication features manually.
Sign Up & Securing User Passwords
Build a user signup in AdonisJS. Implement secure password hashing, user creation, and form validation for registration.
Sign In & Sign Out Flows
Implement sign in and sign out in AdonisJS. Learn to verify credentials, manage sessions, and protect routes with auth middleware.
Using the Authenticated User
Use the authenticated user in AdonisJS. Protect routes with auth middleware, attach creators to records, and verify ownership before mutations.
5
Module 5
Authorization
Module 5
Authorization
Installing & Configuring Bouncer
More details about this post will be available soon.
Guarding Operations with Abilities
More details about this post will be available soon.
Guarding Operations with Policies
More details about this post will be available soon.
6
Module 6
The Engine Room
Module 6
The Engine Room
Transforming API Responses with Transformers
More details about this post will be available soon.
Services & Dependency Injection (DI)
More details about this post will be available soon.
Service Providers & The IoC Container
More details about this post will be available soon.
Sending Email Notifications
More details about this post will be available soon.
Events & Listeners
More details about this post will be available soon.
Handling File Uploads
More details about this post will be available soon.
Rate Limiting
More details about this post will be available soon.
Queues & Jobs
More details about this post will be available soon.