- So AdonisJS is an opinionated, batteries included, Node.js web framework. Opinionated, meaning that it has some opinions
and it's gonna make some decisions on your behalf. One of those being the project structure. So this has a couple of benefits to it. First, you don't have to spend time making those decisions
because it's made them on your behalf. And second, it's going to aid you with onboarding additional members onto your project because you have one set structure that your project's going to work within.
And if you have multiple AdonisJS projects, they'll all use that same structure. So it'll be relatively easy to jump between different projects with AdonisJS because you'll be still working with the same structure.
And then it's also batteries included, but all of those batteries are completely optional. So if you wanted to, you could start with a very bare bones, slim project structure and work your way up from there.
Or you could start with a web or API based project structure that will come ready for either one of those two environments, and then add additional batteries on top of those as you need them.
Those batteries are features that you're going to need to actually build out your production ready project. So things like being able to send emails, being able to communicate with your database,
it has both an ORM and a query builder on that front, being able to safely set your environment variables, being able to actually render out pages,
being able to validate your data, so on and so forth. Now, speaking of those batteries, one of the things that the AdonisJS core team has tried to focus on with AdonisJS 6 is making them perfectly usable
outside of the AdonisJS ecosystem. Meaning if we were working with just a plain vanilla Node.js project, we'd be able to use those batteries within that project without issue.
Things like being able to render out pages using EdgeJS, which is AdonisJS template engine, being able to validate your data using Vine.js,
which is AdonisJS validation system. The environment variable system is also usable outside of AdonisJS. Their testing firmware called Joppa
is perfectly usable as well outside of Adonis. And it's likely that they're going to continue that trend with their other batteries as well in the future. So enough of my talking head here. If you're ready to dive into AdonisJS,
let's go ahead and get started with the next lesson.
We'll introduce AdonisJS by giving a brief overview of what it is and what it offers. We'll also talk about some of its first-party and framework-agnostic packages.
So you're interested in learning AdonisJS 6? You've come to the right place! In this series, we'll walk through learning AdonisJS 6 in a beginner-friendly manner.
Below are some links to additional resources you may be interested in as well.
Ah - no, unfortunately, AdonisJS doesn't have anything that I'm aware of at present like that. Closest at the moment is the serialization options provided via Lucid, described here: https://lucid.adonisjs.com/docs/serializing-models
Salut! Bien qu’il n’y ait pas d’Adocasts officiels en français, comme je ne parle pas français, jetez un coup d’œil à Romain Lanz si vous ne l’avez pas déjà fait. Il a fait des diffusions en direct couvrant AdonisJS en français et est également un membre essentiel du framework.
— Translated with Bing Translate, apologies for any inaccuracies
Hi! While there is no official Adocasts in French, as I don't speak French, check out Romain Lanz if you haven't already. He's been doing live streams covering AdonisJS in French and is a core member of the framework as well.