core
AdonisJS is a TypeScript-first web framework for building web apps and API servers. It comes with support for testing, modern tooling, an ecosystem of official packages, and more.
AdonisJS is a batteries-included Node.js web framework, like Rails or Laravel for JavaScript, providing routing, authentication, database access, and testing out of the box so you don't stitch libraries together.
AdonisJS is a full-stack web framework for Node.js (a JavaScript runtime environment that runs server-side code) built with TypeScript. Think of it like Ruby on Rails or Laravel — a batteries-included framework that provides everything you need to build a web application or API server, so you're not assembling dozens of separate libraries yourself.
The framework follows the MVC (Model-View-Controller) pattern, which is a standard way of organizing web application code that separates data management, business logic, and UI into distinct layers. AdonisJS handles common web development tasks like routing (deciding which code runs when someone visits a URL), authentication, database access, validation, and testing — all with a consistent, coherent API rather than a patchwork of third-party tools.
You would use AdonisJS when building a backend web application or REST API with Node.js and you want a structured, opinionated framework similar to what you'd find in the PHP or Ruby ecosystems — as opposed to assembling your own stack from libraries like Express plus dozens of add-ons. It comes with an official ecosystem of packages, built-in testing support, and modern tooling. The tech stack is TypeScript running on Node.js.
Where it fits
- Build a REST API backend in Node.js with authentication and database access without assembling separate libraries.
- Create a structured server-side web app using the MVC pattern with routing, validation, and testing built in.
- Use AdonisJS as an opinionated alternative to Express for a TypeScript Node.js project with official ecosystem packages.