Router

Router

5 Series
30 Lessons
11h 22m

The AdonisJS Router provides routing capabilities for AdonisJS applications. It allows grouping, param validation, sub-domains, middleware assignment, naming, and so much more. It integrates deeply with the HttpContext and Edge.

Lessons.

Let's Learn AdonisJS 5 #2.6
・
Oct 20, 21

Extending the Adonis Router and Route Matchers

In this lesson, we'll be learning how we can add our own chainable methods using macros to the Adonis Router's Route, Route Group, Route Resource, Brisk Route, and Matchers properties.

Let's Learn AdonisJS 5 #2.4
・
Oct 06, 21

Multi-File Route Grouping Strategies

In this lesson, we'll discuss strategies you can use to apply multiple files worth of route definitions into a single route group without redefining the route group in each file.

Let's Learn AdonisJS 5 #2.3
・
Oct 02, 21

Naming, Grouping, & Prefixing Routes

In this lesson, we'll learn about naming routes and using groups with prefixes to structure our routes and reduce redundancies.

Let's Learn AdonisJS 5 #2.2
・
Sep 25, 21

Moving & Organizing Routes

In this lesson, we'll cover various different ways you can structure your routes within your Adonis project, including moving the routes.ts file, and using a module approach

Let's Learn AdonisJS 5 #2.1
・
Sep 19, 21

Dynamic Routing with Route Parameters

In this lesson, we go in-depth with route parameters covering optional route params, validation using matchers, casting, wildcards, and a few things to watch out for.

Let's Learn AdonisJS 5 #2.0
・
Sep 11, 21

Routing Introduction

We'll learn how to define routes in Adonis using the Route module. We'll cover defining routes for specific HTTP Methods (like GET, POST, PUT/PATCH, and DELETE), Caveats, and Brisk Routes.

Let's Learn AdonisJS 5 Preview #4.0
・
Jan 02, 21

Let's Learn Adonis 5: Controllers, Services, Resources, and Namespacing

In this lesson, we'll be hammering down several Adonis topics in one swoop. We'll be covering Controllers, which in turn allow us to utilize Services, Resources, and Namespacing.

Let's Learn AdonisJS 5 Preview #3.0
・
Dec 26, 20

Let's Learn Adonis 5: Routes and Route Handling

In this lesson, we learn the basics of Adonis routing and route handling by covering how to define a route, render a page, respond with JSON, simplify our route definitions, and more.

Showing 21 to 28 of 28 results