Setting up Rest / CRUD API routes in Adonis 5

Опубликовано: 11 Май 2026
на канале: Cleavr
1,079
8

Part 8/21

Adonis uses Routes.resource() method to automatically create a list of common CRUD routes.

Furthermore, you can optionally select which routes to only include or exclude; as well as optimize the routes for an API only application.

Repos:
Front-end: https://github.com/armgitaar/themovies
Back-end: https://github.com/armgitaar/moviesapi

Tutorial: https://dev.to/armiedema/create-and-d...