AdonisJS From Scratch

Learn AdonisJS by building a real-world application from scratch.

Beginner Last updated Jul 2025

About the Course

AdonisJS is a fully-featured Node.js framework for building web applications. In this text-based course, you will learn everything you need to know about AdonisJS. We start with the fundamentals of the framework. Then, step by step, we will build a complete real-world application from scratch.

Along the way, you will master the building blocks and essential concepts of the framework.

Course Content

20 sections·80 lessons

Directory structure overview
The Ace CLI
Routing basics
Dynamic routes
Naming routes
Routing to controllers
Passing data to views
Environment variables and validation
Error handling
Middleware
Introduction to Vite
Installing and configuring Tailwind CSS
Installing AlpineJS
Introduction to Edge
Edge helpers
Understanding template states
Creating an app layout component
Setting up a database
Introduction to migrations
Creating the migration for the posts table
CRUD with query builder
Introduction to Lucid models
Creating tag model and migration
Seeding database with tags
Defining user and profile relationship
Creating the user sign up form
Understanding CSRF
Validating form data
Displaying form data upon validation failure
Custom form validation messages
Persisting form data
Displaying logged-in user details
Logging user out
Logging user in
Flashing and displaying session messages
Remember me
Log in with GitHub
Creating posts
Making post slug unique
Adding a WYSIWYG editor
Uploading post cover image
Scheduling posts for later
Tagging posts
Guest middleware
Auth middleware
Redirect to intended URL
Displaying user posts
Updating posts
Deleting posts
Extract status functionality into a service
Extracting dropdown into a component
Creating an avatar component
Updating profile details
Updating account details
Changing password
Displaying blog posts
Displaying a single blog post
Commenting on posts
Displaying post comments
Subscribing to comment notifications
Sending comment notifications to subscribers
Sending new comment email notification to post author
Sending emails in the background
Creating dummy data with factories
Pagination
Filtering posts by status
Filtering posts by comments
Filtering posts by tags
Sorting posts
Authorization
Query reusability with query scope
Ensuring data integrity with database transactions
Preparing for deployment
Deploying to Railway

Your instructor

Chimezie Enyinnaya

Chimezie Enyinnaya

I'm a self-taught full-stack developer and educator. I create practical courses that are straight to the point and easy to understand. The best way to learn is by doing, so my courses equip you with hands-on experience while building real-world applications.