AdonisJS is a TypeScript-first framework for building web applications and API servers on Node.js. It bundles routing, ORM, validation, authentication, mail, uploads, and testing in one stack.
Overview
AdonisJS targets teams building web apps and microservices on Node.js with TypeScript. It positions itself as a fullstack MVC framework focused on ergonomics and a stable API for everyday web work.
The framework ships integrated pieces that often get bolted on separately: HTTP routing with resource routes and middleware, controllers tied to HttpContext, VineJS validation, an active-record ORM on Knex with migrations and factories, and authentication for sessions and API tokens. File uploads use a unified drive layer for object storage or local disks; mail supports several SMTP and API providers with queueing and test fakes.
Rate limiting can use Redis or the database, with per-user or per-IP rules. Testing uses Japa with HTTP clients, database transactions, and helpers such as authenticated requests; browser tests can run through Playwright.
Official packages and docs cover common tasks so applications share conventions across routing, models, and validation rather than assembling unrelated libraries.
Key features
- TypeScript-first APIs and conventions
- MVC routing, controllers, and middleware
- VineJS request and file validation
- Active-record ORM with query builder
- Session and access-token authentication
- Multipart uploads via drive adapters
- Mail with multiple provider backends
- Configurable rate limiting and Japa tests
Use cases
- Fullstack web applications on Node.js
- JSON API and microservice backends
- Teams standardizing TypeScript server code
- Apps needing ORM, auth, and mail together