You are viewing the legacy version of AdonisJS. Visit https://adonisjs.com for newer docs. This version will receive security patches until the end of 2021.

About AdonisJs

AdonisJs is a Node.js MVC framework that runs on all operating systems. It offers a stable eco-system to write a server-side web application so that you can focus on business needs over finalizing which package to choose or not.

AdonisJs favours developer joy with consistent and expressive API to build a full-stack web application or a micro API server.

Getting started

They are no hard prerequisites to use AdonisJs but having a conventional understanding of JavaScript, Async programming and Node.js is great.

Also, make sure to go through the getting started guide especially if this is your first time using AdonisJs.

Other sources

Here are some other great places to find information about AdonisJs.

  1. The discourse forum, where we talk about everything about AdonisJs from fixing bugs to discussing new features.

  2. Twitter

  3. Github

  4. If you love the project, then please consider supporting us on patreon.

Providers

AdonisJs is a modular framework that consists of multiple service providers. The service providers are the building blocks of AdonisJs applications.

In theory, they are like any other npm module with some code on top of it to play transparently with AdonisJs applications. For example, BodyParser to parse HTTP request body or Lucid which is a SQL ORM.

FAQ’s

Below is the list of frequently asked questions, if you think a common question is missing in the list. Please create an issue here

  1. How is AdonisJs different from Express or Koa?

    Express and Koa are routing libraries with a thin layer of middleware on top of it. There are great for several use cases but falls apart when your project starts growing.

    Also, it becomes harder to hire someone, since your project has its own standards and conventions. Whereas AdonisJs follows a set of standardized conventions, making it easier to hire people and make them work on existing AdonisJs apps.

  2. Is AdonisJs for monolithic apps?

    No. AdonisJs as a framework is a combination of multiple packages that gracefully integrates with the rest of your app.

    The framework provides a robust Dependency injection layer, which is leveraged by all official and 3rd party packages to offer functionality without manually wiring up each part of the application.