description AdonisJS Overview
AdonisJS is a TypeScript-first web framework for Node.js, designed for building server-side applications. It follows a structured MVC (Model-View-Controller) architecture and includes built-in tools for routing, authentication, and database management via its own ORM called Lucid. The framework provides a command-line interface (Ace) for scaffolding projects and running automated tests. It is aimed at developers looking for an experience similar to Laravel or Rails within the Node.js ecosystem.
help AdonisJS FAQ
Does AdonisJS use the same programming model as Express?
AdonisJS runs on Node.js but provides a more structured, batteries-included application framework than Express. It supplies conventions for controllers, middleware, validation, authentication, and database access instead of leaving most choices to separate packages.
What is Lucid ORM in AdonisJS?
Lucid is AdonisJS's SQL object-relational mapper. It supports models, relationships, query building, migrations, and database seeds in applications written with modern JavaScript or TypeScript.
Can AdonisJS render HTML, or is it only for APIs?
It can do both. AdonisJS includes the Edge template engine for server-rendered pages, while its routing and controller system can also return JSON for REST APIs.
What does the Ace command-line tool do?
Ace is the AdonisJS CLI used to run framework commands and application-specific tasks. Developers use it for operations such as generating files, running database migrations, and starting development workflows.
explore Explore More
Similar to AdonisJS
See all arrow_forwardReviews & Comments
Write a Review
Be the first to review
Share your thoughts with the community and help others make better decisions.