Extending AdonisJS

Extending AdonisJS

3 lessons
Start course

Need to extend the AdonisJS to suit your application-specific needs? Then this course is for you as you'll learn how to do exactly that. We cover various aspects of extending AdonisJS core, from Edge to authentication, down to response, request, and so much more.


In this lesson, we'll learn how to create a custom Edge markdown global. We'll look at various ways to create Edge globals then wrap up the lesson by improving our custom global by making use of the Ioc container.

What you'll learn

  • How to create custom Edge globals.
  • How to use the Ioc container.
  • How to Update the Ioc container bindings.

In this lesson, you'll learn how to create Edge tags. We'll start by learning how to create a simple loggedIn tag, then we'll take things further by learning to create a script tag that can accept multiple arguments.

What you'll learn

  • How to create custom Edge tags.
  • How to create block and inline tags.
  • How to create tags that accept arguments.


In this lesson, we'll cover how to extend the HTTP response class by adding an intended() to it.

What you'll learn

  • How to extend the Response using getters.
  • How to extend the Response using macros.

*Course still in development. Do check back often for updates.

Chimezie Enyinnaya

Hi, I'm Chimezie Enyinnaya, your teacher.

I’m a self-taught software developer based in Lagos, Nigeria, with over 8 years of experience. In the last couple of years, I've been doing more teaching because I enjoy sharing my knowledge so that others can benefit from it. Come along as I teach you all I know about AdonisJS, Node.js, and JavaScript at large!