AdonisJS Framework's Avatar

AdonisJS Framework

@adonisjs.com.bsky.social

A fully featured @nodejs.org framework for creating bespoke backend applications in record time. Created by @iamvirk.bsky.social. Learn on @adocasts.com

1,265 Followers  |  46 Following  |  43 Posts  |  Joined: 03.10.2024  |  1.7295

Latest posts by adonisjs.com on Bluesky

Video thumbnail

A new lesson just dropped in our Adding an API series!

We'll remove the modules show route from our resource using except, then refactor to add a GetModules action for our modules index & courses show routes.

Get started ↓
buff.ly/r5xoN1K

23.07.2025 13:05 β€” πŸ‘ 4    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Preview
Roadmap to AdonisJS 7 AdonisJS 7 brings a new Lucid ORM, type-safe routing, improved Inertia support, diagnostic channels, encryption updates, and a flexible notification system.

πŸš€ The AdonisJS 7 roadmap is live!

Standalone Lucid, better Inertia support, type-safe URLs, built-in notifications, diagnostics, encryption, and more.

Check out what’s coming next, and tell us what you think!

adonisjs.com/blog/roadmap...

23.06.2025 09:59 β€” πŸ‘ 26    πŸ” 8    πŸ’¬ 0    πŸ“Œ 0
Preview
Open Source Friday with AdonisJS creator Harminder Virk Building a JavaScript framework from scratch is no small featβ€”especially one as developer-focused and feature-rich as AdonisJS. In this episode of Open Source Friday, Karan M V from GitHub hosts Harm...

🚨 In 30 minutes, Harminder will be live on GitHub’s Open Source Friday!

Tune in to hear about the motivation behind AdonisJS, the design choices that shaped it, and what sets it apart from other frameworks.

13.06.2025 09:58 β€” πŸ‘ 7    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
The β€œLet’s Learn AdonisJS 6” course on Adocasts. The course is marked as Beginner level, with 113 lessons totaling 14 hours and 11 minutes. Description mentions learning AdonisJS 6 step-by-step, covering routing, controllers, services, EdgeJS, Lucid ORM, forms, filtering, authentication, etc. Hashtags include #vite, #markdown, #redis. Buttons for β€œStart Series”, β€œRepository”, and β€œYouTube” are displayed. A sidebar lists modules: Introduction, Fundamentals, EdgeJS views, Database & Lucid ORM, ORM Relationships, Forms, Authentication, Filtering & Pagination, User Watchlist, User Profiles, Admin Panel.

The β€œLet’s Learn AdonisJS 6” course on Adocasts. The course is marked as Beginner level, with 113 lessons totaling 14 hours and 11 minutes. Description mentions learning AdonisJS 6 step-by-step, covering routing, controllers, services, EdgeJS, Lucid ORM, forms, filtering, authentication, etc. Hashtags include #vite, #markdown, #redis. Buttons for β€œStart Series”, β€œRepository”, and β€œYouTube” are displayed. A sidebar lists modules: Introduction, Fundamentals, EdgeJS views, Database & Lucid ORM, ORM Relationships, Forms, Authentication, Filtering & Pagination, User Watchlist, User Profiles, Admin Panel.

Want to learn AdonisJS 6 but don't know where to start?

@adocasts.com has you covered with their free course: "Let's Learn AdonisJS 6".

You'll get hands-on with most of the core framework features.

Start here πŸ‘‰ adocasts.com/series/lets-...

12.05.2025 07:00 β€” πŸ‘ 8    πŸ” 3    πŸ’¬ 0    πŸ“Œ 0
Hey @SI-IC! πŸ‘‹πŸ»

AdonisJS has been around since 2015, longer than many frameworks currently active in the Node.js ecosystem. From the beginning, our goal has been to help developers write better software in Node.js. That goal doesn't require us to chase popularity or compete with other frameworks. We're not here to fight, we're here to build something stable, fast, and pleasant to use.

Why would AdonisJS stop in the next 2–3 years? Quite the opposite is happening. Just a year ago, we released a major update embracing ESM to stay aligned with the direction of the Node.js ecosystem. We're also actively refactoring Lucid, our ORM, to make it more powerful and developer-friendly. The level of care and long-term thinking behind AdonisJS is rare.

Since you mentioned NestJS: despite its popularity, Nest has yet to adopt ESM and still relies on non-standard decorators. As the ecosystem shifts toward spec-compliance, that could become a bigger issue. From a long-term perspective, frameworks that don't evolve with the platform may be more at risk than those that do.

We're here for the long haul, not because we aim to dominate, but because we believe in building excellent tools that we love to use ourselves.

Hey @SI-IC! πŸ‘‹πŸ» AdonisJS has been around since 2015, longer than many frameworks currently active in the Node.js ecosystem. From the beginning, our goal has been to help developers write better software in Node.js. That goal doesn't require us to chase popularity or compete with other frameworks. We're not here to fight, we're here to build something stable, fast, and pleasant to use. Why would AdonisJS stop in the next 2–3 years? Quite the opposite is happening. Just a year ago, we released a major update embracing ESM to stay aligned with the direction of the Node.js ecosystem. We're also actively refactoring Lucid, our ORM, to make it more powerful and developer-friendly. The level of care and long-term thinking behind AdonisJS is rare. Since you mentioned NestJS: despite its popularity, Nest has yet to adopt ESM and still relies on non-standard decorators. As the ecosystem shifts toward spec-compliance, that could become a bigger issue. From a long-term perspective, frameworks that don't evolve with the platform may be more at risk than those that do. We're here for the long haul, not because we aim to dominate, but because we believe in building excellent tools that we love to use ourselves.

"How long will adonisjs exist?"

github.com/orgs/adonisj...

08.05.2025 06:51 β€” πŸ‘ 14    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0

As with our move to ESM, we want to stay aligned with the JavaScript spec and avoid TypeScript-only patterns. We’ll start testing the new syntax internally and share updates as we go. πŸ™Œ

02.05.2025 08:47 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
RyanCavanaugh writting : "I don't think we're going to have decorator metadata in ES decorators. It's unlikely. Not impossible, but very unlikely. We are increasingly moving away from any type-based emit in all forms; it's slow, error-prone, impossible for third-party tools to replicate, and not standardized.

emitDecoratorMetadata is documented as experimental, and also requires you to set another flag with experimental in the name. Features don't stop becoming experimental due to the passage of time -- if we thought they were not experimental, we would have renamed them. They're still experimental, and it's still up to each developer to understand the consequences of taking dependencies on features that are not considered stable.

We tried for a very long time to align the TC39 decorator proposal with the experimental decorators that originated in TypeScript. The committee didn't land on something that exactly aligns with what we have, with one...."

RyanCavanaugh writting : "I don't think we're going to have decorator metadata in ES decorators. It's unlikely. Not impossible, but very unlikely. We are increasingly moving away from any type-based emit in all forms; it's slow, error-prone, impossible for third-party tools to replicate, and not standardized. emitDecoratorMetadata is documented as experimental, and also requires you to set another flag with experimental in the name. Features don't stop becoming experimental due to the passage of time -- if we thought they were not experimental, we would have renamed them. They're still experimental, and it's still up to each developer to understand the consequences of taking dependencies on features that are not considered stable. We tried for a very long time to align the TC39 decorator proposal with the experimental decorators that originated in TypeScript. The committee didn't land on something that exactly aligns with what we have, with one...."

After a year of uncertainty, the TypeScript team has officially confirmed that spec-compliant decorators will not support emitting type metadata.

Since decorators are used sparingly in AdonisJS, migrating away from the experimental syntax will mostly affect Dependency Injection.

02.05.2025 08:47 β€” πŸ‘ 10    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

Welcome! πŸ‘‹

23.03.2025 10:07 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
A promotional banner for the 'Building with AdonisJS & Inertia' course on Adocasts. The course is labeled as 'Intermediate' and includes 91 lessons totaling 14 hours and 5 minutes. The description states that learners will use InertiaJS with AdonisJS 6 to build a full-featured application named PlotMyCourse, incorporating server-side rendering (SSR), Vue 3, and Shadcn-Vue. The course covers organizations, drag-and-drop features, and extensive form handling.

A promotional banner for the 'Building with AdonisJS & Inertia' course on Adocasts. The course is labeled as 'Intermediate' and includes 91 lessons totaling 14 hours and 5 minutes. The description states that learners will use InertiaJS with AdonisJS 6 to build a full-featured application named PlotMyCourse, incorporating server-side rendering (SSR), Vue 3, and Shadcn-Vue. The course covers organizations, drag-and-drop features, and extensive form handling.

Ever wanted to master InertiaJS?

@adocasts.com offers a free series of 91 videos, totaling over 14 hours, guiding you through building an application with AdonisJS 6 and InertiaJS.

Start learning today! πŸŽ“

▢️ adocasts.com/series/build...

13.03.2025 20:08 β€” πŸ‘ 12    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Code example showing that we removed the top-level "where" method since it may cause issue with automatically added where clause.

Code example showing that we removed the top-level "where" method since it may cause issue with automatically added where clause.

This global where clause can bite you if there are `or where` conditions in your query.

To mitigate that, we are removing the top-level `orWhere` method from the query builder, and you will be forced to always define a `orWhereGroup` to write or where conditions.

02.03.2025 09:08 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Code example showing that now, any query made by the Query Building will have the added constraint automatically added.

Code example showing that now, any query made by the Query Building will have the added constraint automatically added.

All other parts of your application using DI will receive the same QueryClient instance during the current HTTP request.

For example, here I am fetching all the posts for a given tenant without remembering to always add this clause.

02.03.2025 09:08 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Code example showing the creation of a new QueryClient instance, forcing a query constraint on all query and then binding the new instance to our Dependency Injection Container.

Code example showing the creation of a new QueryClient instance, forcing a query constraint on all query and then binding the new instance to our Dependency Injection Container.

1. Define a middleware that creates an instance of QueryClient and auto adds the `where tenant_id clause` to all the queries.

2. Bind this instance of the QueryClient to the container.

02.03.2025 09:08 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Coming in the next version of Lucid: First-class support for Multi-Tenant applications!

With built-in Dependency Injection, you can effortlessly create a custom QueryClient that automatically applies the right query constraints for each tenant.

Learn more πŸ‘‡

02.03.2025 09:08 β€” πŸ‘ 15    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0
Preview
Cache Cache data to improve the performance of your application

We just released the '@adonisjs/cache' package! 🍱

It brings a powerful caching layer to AdonisJS, making it easy to store and retrieve data efficiently.

Check out the documentation and give it a try!

▢️ docs.adonisjs.com/guides/diggi...

02.02.2025 12:02 β€” πŸ‘ 34    πŸ” 9    πŸ’¬ 2    πŸ“Œ 1
Preview
Laravel Live Bengaluru February Meet-up Book Tickets for Laravel Live Bengaluru February Meet-up . Event starts on Sat, 15 Feb, 2025 at 02:45 pm IST and happening at mirrAR, Bangalore, KA. Register or Buy Tickets, Price information.

Exciting news!

Aman Virk, the creator of AdonisJS, will be speaking at LaravelLive Bangalore. πŸš€

Want to join the online meetup? Register now by following the link.

allevents.in/bangalore/la...

03.02.2025 15:07 β€” πŸ‘ 9    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Preview
Release v1.0.0 Β· Julien-R44/bentocache Upgrade Guide 1.0.0 Breaking Changes Remove old syntax We removed the "legacy" syntax and only keep the POJO-one. For each method, the method signature is a full object, for example : bento.get({ k...

In case you were already using the alpha version of the package, feel free to read Bentocache release notes:

github.com/Julien-R44/b...

02.02.2025 12:06 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Cache Cache data to improve the performance of your application

We just released the '@adonisjs/cache' package! 🍱

It brings a powerful caching layer to AdonisJS, making it easy to store and retrieve data efficiently.

Check out the documentation and give it a try!

▢️ docs.adonisjs.com/guides/diggi...

02.02.2025 12:02 β€” πŸ‘ 34    πŸ” 9    πŸ’¬ 2    πŸ“Œ 1
Preview
a close up of a man with a beard says hello there Alt: Obi-Wan Kenobi saying "Hello there"

πŸ‘‹

26.01.2025 10:46 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
- YouTube
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube. - YouTube

Our lesson going over the new overload option for the unique & exists VineJS rules in AdonisJS 6 is now free to all!

Watch on Adocasts:
https://adocasts.com/lessons/new-unique-and-exist-validation-overloads-in-adonisjs-6

Watch on YouTube:

21.01.2025 14:05 β€” πŸ‘ 5    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Preview
Talks - EstΓ©ban Soubiran My talks.

πŸŽ‰ My latest slide deck about @adonisjs.com is live!

Check it out here:
πŸ‘‰ soubiran.dev/talks

22.01.2025 00:08 β€” πŸ‘ 9    πŸ” 1    πŸ’¬ 2    πŸ“Œ 0
Post image

The first, the second, and the third are all @adonisjs.com β€”and I think that’s beautiful! ✨

19.01.2025 17:07 β€” πŸ‘ 18    πŸ” 5    πŸ’¬ 1    πŸ“Œ 0
Preview
Paris TypeScript #41, Tue, Jan 21, 2025, 7:00 PM | Meetup Salut les TypeScripters, c'est parti pour le 41ème Paris TypeScript 😎 Un grand merci à notre hébergeur pour cet event : [OCTO](https://octo.com/) Pour ceux qui ne peuven

It's official! I'll be speaking at Paris TypeScript about @adonisjs.com! πŸŽ‰

Slides are still a blank canvas, so if you have any questions, content requests, or suggestions, let me knowβ€”I’d love to include them! πŸ™Œ

πŸ‘‰ meetu.ps/e/NNkfP/MRVG...

16.01.2025 10:15 β€” πŸ‘ 21    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0

Back in December, we enhanced the unique & exists rules in Lucid for VineJS.

Check out the details in this @adocasts.com video!

07.01.2025 15:32 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
a man in a suit and tie is saluting in a video game while wearing an eye patch . ALT: a man in a suit and tie is saluting in a video game while wearing an eye patch .
06.01.2025 20:54 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
a baby is standing in the water without a shirt on . ALT: a baby is standing in the water without a shirt on .

2025 is the year AdonisJS Queue becomes a reality! πŸš€

We're bringing first-class job queueing to your favorite framework, and we can't wait to share all the exciting improvements we have planned.

#BeProductiveFromDayOne

06.01.2025 20:53 β€” πŸ‘ 25    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0

✨ Happy New Year from the AdonisJS team! πŸŽ‰

2024 was a huge year with the release of AdonisJS 6, bringing new levels of power and productivity to your apps. πŸš€

We can't wait to deliver even more amazing features in 2025. Thank you for being part of our journey! ❀️

02.01.2025 09:10 β€” πŸ‘ 11    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0
npm i @adonisjs/inertia@latest # and your inertia adapter
npm i @adonisjs/vite@latest vite@latest

npm i @adonisjs/inertia@latest # and your inertia adapter npm i @adonisjs/vite@latest vite@latest

We've updated our @vite.dev and Inertia packages to support the latest versions: Vite 6.0 and Inertia 2.0.

Upgrading your application to these releases is quick and easy. There's only a small breaking change in the Inertia adapter, which can be resolved with a simple find & replace!

14.12.2024 14:41 β€” πŸ‘ 45    πŸ” 8    πŸ’¬ 1    πŸ“Œ 1
Preview
GitHub - Julien-R44/adonisjs-prometheus: πŸ“Š Prometheus Provider for AdonisJS with some builtins metrics for monitoring your application. πŸ“Š Prometheus Provider for AdonisJS with some builtins metrics for monitoring your application. - Julien-R44/adonisjs-prometheus

Are you a fan of monitoring and using Prometheus with tons of Grafana charts? πŸ“Š

Check out the latest release of @julr.dev packageβ€”a Prometheus wrapper that helps you ingest numerous metrics about your application.

github.com/Julien-R44/a...

03.12.2024 13:43 β€” πŸ‘ 5    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0
Preview
Building with AdonisJS & Inertia: Deleting Courses In this lesson, we'll add the ability to delete courses from an organization with confirmation from our user.

3 new Building with #AdonisJS & #Inertia lessons are out now! In these, we'll add

β‡’ The ability to delete courses
β‡’ Begin work on our courses show page
β‡’ Create a nifty TagSelector component that'll auto-patch changes

Ready to learn? πŸŽ“
https://buff.ly/41iCPrb

02.12.2024 14:05 β€” πŸ‘ 3    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0
A card with the AdonisJS core repository's description and a picture of all core contributors

A card with the AdonisJS core repository's description and a picture of all core contributors

πŸŽ‰ We are now 7,000 members strong on Discord and have reached 17,000 GitHub Stars.

It took us close to a decade to get these numbers. πŸ“ˆ

But we are enjoying this slow growth and craftsmanship. Not everything is built to take over the world. πŸ™Œ

23.11.2024 16:31 β€” πŸ‘ 22    πŸ” 4    πŸ’¬ 2    πŸ“Œ 0

@adonisjs.com is following 20 prominent accounts