AdonisJS From Scratch
Learn AdonisJS by building a real-world application from scratch.
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.
What You'll Build
A multi-author blog application with user registration and profiles, session-based authentication, GitHub OAuth, post creation with a WYSIWYG editor and image uploads, scheduled posts, tagging, comments with email notifications, pagination, filtering, sorting, and authorization — built with AdonisJS, Lucid, Edge, and deployed to Railway.
What You'll Learn
- Set up an AdonisJS project with Node.js, MySQL, and Redis
- Building blocks of the AdonisJS framework: routings, controllers, middlewares, error handling, etc.
- Manage frontend assets with Vite, Tailwind CSS, and Alpine.js
- Build server-rendered views with Edge templates, layouts, partials, components, and Alpine.js
- Design and run database migrations
- Database operations with Lucid ORM
- Model relationships with Lucid ORM with proper eager loading
- Query scopes and database transactions
- Implement full session-based authentication — email/password, remember me, and logout
- GitHub OAuth
- Build and publish articles with a WYSIWYG editor, cover images, scheduling, and tag filtering
- Secure the application with Bouncer abilities, resource policies, and template-level authorization checks
- Send transactional emails using events and listeners
- Implement background jobs with AdonisJS's queue
- Apply pagination, filtering, and sorting
- Deploy a production AdonisJS application to Railway
Prerequisites
- Comfortable with JavaScript (ES6+), including async/await
- Basic knowledge of TypeScript syntax (interfaces, types, decorators)
- Familiar with HTML, CSS, and basic SQL
Course Content
20 sections·80 lessons
