Monthly Updates

By Team AdonisJS

Reaching 13K stars on Github and community contributions





Subscribe to our newsletter

By subscribing, you agree with Revue’s Terms of Service and Privacy Policy and understand that Monthly Updates will receive your email address.

Reaching 13K stars on Github and community contributions
By Team AdonisJS • Issue #9 • View online
Hello everyone 👋
I am back with another update, and this time I have got a huge list of community packages and tutorials to share with you.

⭐️ 13K Stars on Github
A week ago, AdonisJS received 13,000 stars on Github. A huge thanks to everyone for supporting and using the framework. We take great pride in our work and always strive to bring meaningful improvements and features to the framework.
In case you haven’t, please give us a Star on Github 
Japa and AdonisJS VSCode extensions
Julien is a VSCode Wizard. Earlier, he created the official extension for AdonisJS. Now he made it super easy to run Japa tests directly from your code editor.
The Japa extension drops a code lens (clickable action) next to every test. So you can click on the code lens to run that specific test. 
Alongside, there are keyboard shortcuts to run the test at the current cursor position or run all the tests in the current file.
It is a super cool extension, and we highly recommend you to give it a try.
Japa VSCode Code Lens
Japa VSCode Code Lens
AdonisJS VSCode extension has also received a handful of new features.
  • You can now see a list of routes and commands in the VSCode sidebar.
  • In addition, Edge files now use the HTML language server. This means you get support for both the Edge syntax highlighting and HTML tags auto-complete.
Official package to implement Rate limiting
We released the official rate limiting package a few months back. Following are some of the main features.
  • Multiple storage backends, including Redis, PostgreSQL, and MySQL.
  • Throttle middleware to automatically rate limit HTTP requests.
  • Brute force protection.
  • Extensible API to add custom storage backends.
AdonisJS meets Prisma
Wahyu Budi Saputra created a community package to use Prisma inside your AdonisJS projects.
Even though you can use Prisma directly inside any AdonisJS app, having a well-structured package can make your life much easier.
For example, with this package:
  • You can use Prisma to look up the users during authentication.
  • Create and run Prisma seeders using the node ace prisma-seeder:make and node ace prisma-seeder:run commands.
Articles and Screencasts
AdonisJS + InertiaJS - Adocasts
AdonisJS package development | Adonis Mastery
Two-Factor Authentication (2FA) implementation in AdonisJS - Cleavr docs
How to Integrate Social Authentications in Single Page Applications Using AdonisJS
Authenticating with multiple models in AdonisJS | Adonis Mastery
AdonisJS in 15: How To Do Multi Model Authentication with AdonisJS and Lucid ORM - Adocasts
Let's Learn AdonisJS 5 - Adocasts
Notable community contributions
  • Real world AdonisJS example app - Read world is a concept in which developers create a clone of Medium using different frontend and backend frameworks. Nick Hehr created one using AdonisJS.
  • Lucid Auto Preload - A community package that allows you to auto preload a set of relationships every time you fetch one or more rows using a Model.
  • Form Requests - A dedicated layer between your Route and the Controller to validate and Authorize incoming HTTP requests.
  • Lucid Observer - Use dedicated observer classes to listen for the Lucid models lifecycle hooks.
  • AdonisJS Mercure - Mercure is a mature implementation of SSE, allowing you to create real-time streaming applications with the as little load as possible on your servers.
Did you enjoy this issue?
Team AdonisJS

Tips & tricks, new releases, and community contributions delivered to your inbox - Every month

In order to unsubscribe, click here.
If you were forwarded this newsletter and you like it, you can subscribe here.
Powered by Revue